Closed AlexHrQ closed 5 years ago
@HrytsynaAlex using react-native link
is unnecessary if you install our SDK using Cocoapods, but that is probably not the issue here.
Please add more details, are you talking about iOS, or android, or both?
There could be many possible issues here. Are you sure you followed every single step of our react-native SDK setup guide? Are you being prompted to allow Push Notification permission?
Please use OneSignal.setLogLevel(6, 0)
and please post your logs for the first ~40 seconds of running your app (please upload the logs to somewhere like pastebin and just post the link here)
Closing due to no response
I have followed all instruction in https://documentation.onesignal.com/docs/react-native-sdk-setup#section-android-specific-instructions for Android, but the OneSignal still doesn't detect any user.
I am using Expo ejected, Expo SDK 33.
same problem, but I have nothing in the logs. Expo SDK 40
Description:
I've created app using expo and ejected it to ExpoKit. After that I added react-native-onesignal package and linked it using react-native link react-native-onesignal. After that I added code from https://documentation.onesignal.com/docs/react-native-sdk-setup#section-usage with correct appid. My app is running without errors but I keep getting "We haven't detected any subscribed users yet for this platform." on OneSignal dashboard.
Environment
Steps to Reproduce Issue: