onesignal-expo-plugin icon indicating copy to clipboard operation
onesignal-expo-plugin copied to clipboard

Could not load RNOneSignal native module. Make sure native dependencies are properly linked

Open raquraini opened this issue 1 year ago • 1 comments

How can we help?

hi 🙋‍♂️ i try to setup the OneSignal.setAppId() and getting this error Could not load RNOneSignal native module. Make sure native dependencies are properly linked

"expo": "^44.0.6", "onesignal-expo-plugin": "^1.1.2", "react": "17.0.1", "react-dom": "17.0.1", "react-native": "0.64.3", "react-native-onesignal": "^4.4.1",

(widows OS)

Captureasdasdasd

OneSignal Expo SDK version

"^1.1.2"

Platform

No response

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

raquraini avatar Oct 13 '22 16:10 raquraini

Hi @raquraini! I suspect you are trying to run your app in the Expo Go environment which is unfortunately not a supported environment due to OneSignal depending on a native module. Please make sure you are building and running in one of the supported environments:

The Expo run commands (expo run:[android|ios]) Custom clients EAS Build

Thanks!

brismithers avatar Oct 14 '22 17:10 brismithers