Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find native module 'ReactNativeDeviceActivity, not able to run on a bare react native project #17

Open
Ayush-a3h opened this issue Jan 30, 2024 · 2 comments

Comments

@Ayush-a3h
Copy link

Ayush-a3h commented Jan 30, 2024

i keep running into this error,even after following the steps you have outlined in the readme @robertherber

Steps to reproduce:

npx create-expo-app --template bare-minimum

npx install-expo-modules@latest

npm install react-native-device-activity and npx pod-install 

modify app.js to import lib " import * as ReactNativeDeviceActivity from "react-native-device-activity";"
 
npm run ios
 

Warp_2024-01-30 20-27-26@2x
Simulator_2024-01-30 20-58-27@2x


expo-env-info 1.2.0 environment info:
System:
OS: macOS 14.2.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.10.0 - /usr/local/bin/node
Yarn: 1.22.21 - /usr/local/bin/yarn
npm: 10.2.3 - /usr/local/bin/npm
Watchman: 2023.12.04.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.14.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 23.2, iOS 17.2, macOS 14.2, tvOS 17.2, visionOS 1.0, watchOS 10.2
Android SDK:
API Levels: 28, 31, 32, 33, 34
Build Tools: 30.0.3, 32.0.0, 33.0.0, 34.0.0
System Images: android-33 | Google Play ARM 64 v8a, android-34 | Google APIs ARM 64 v8a, android-34 | Google Play ARM 64 v8a
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9014738
Xcode: 15.2/15C500b - /usr/bin/xcodebuild
npmPackages:
expo: ^50.0.0 => 50.0.4
react: 18.2.0 => 18.2.0
react-native: 0.73.2 => 0.73.2
npmGlobalPackages:
expo-cli: 6.3.10
Expo Workflow: bare
@Ayush-a3h Ayush-a3h changed the title not able to run on a bare react native project Cannot find native module 'ReactNativeDeviceActivity, not able to run on a bare react native project Jan 30, 2024
@kamil6311
Copy link

same

@atanu-crescentek
Copy link

Same error have you found any solution on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants