-
Notifications
You must be signed in to change notification settings - Fork 374
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
Could not load RNOneSignal native module. Make sure native dependencies are properly linked. #1345
Comments
Howdy, See the RN troubleshooting guide. |
Please follow the issue template so I can help you better. Are you using Expo? |
Yes |
That's the problem. If you want to use Expo you need to use the OneSignal Expo Plugin or eject into the bare workflow. See this discussion thread for more info. Cheers |
Still doesn't work... |
Same error
Could not load RNOneSignal native module. Make sure native dependencies are properly linked. |
Someone fix this ? |
I managed to solve using the specific plugin for expo: |
even your example project is same. need fix |
Has anyone found a solution to the problem? |
Someone fix this ? |
Just Include this code In andriod/settings.gradle clean npm and gradlew |
I have seen that solution, but I have to eject project and I don't want |
if you are using RN above code will work... because i am moving my code from expo to RN, today and it is working fine...! |
Seems like latest version(1.2.0) of |
Thanks, this works. |
So what should we do now? |
I don't want to eject my app. what should I do? OneSignal Expo Plugin doesn't work !!! |
I used
|
Yes |
I had the same error show up when launching the app on Expo Go. After chatting to OneSignal support, this is their response below (long story, short: this error will only show up when launching the app on Expo Go. The final build tested on your native device will work just fine) |
Did you fix the issue for Expo |
I managed to make it work in Expo. Just follow this steps https://documentation.onesignal.com/docs/react-native-expo-sdk-setup The most important part is you guys need to run |
This worked for me. In other words: I don't think i ran |
Hi there,
when I try to
OneSignal.setAppId('APP_ID')
, I get this error:The text was updated successfully, but these errors were encountered: