react-native-unimodules
react-native-unimodules copied to clipboard
RN version 0.66.1 install onsignal got this error Could not load RNOneSignal native module. Make sure native dependencies are properly linked.
Hi there !!
I want to use Onesignal then type this command line:
"yarn add react-native-onesignal"
I got this error:
"Could not load RNOneSignal native module. Make sure native dependencies are properly linked."
My react native(CLI):
"react-native": "0.66.1",
Hi @Chandara-97 I assume you are using expo all you have to do is this command, Add OneSignal by running yarn add react-native-onesignal Link OneSignal with expo install react-native-onesignal Add OneSignal Plugin expo install onesignal-expo-plugin
Thanks @kmkz-69 !! Do you have any conguration because I'm use CLI
You don't need any configuration , first delete your node folder , expo install react-native-onesignal expo install onesignal-expo-plugin and check your app.json if expo did or did not add the plugin you need to add it ,"plugin":[ "onesignal-expo-plugin"]