Description:
Followed up the setup multiple times making sure everything is done correctly, the user is being added to onesignal's user list with a "No Push Token" error, while it throws the below error in Android Studio:
I also followed the troubleshooting guide, and found out some outdated documentaion (like the one in onesignal's main home page!):
Example (the init function doesn't exist anymore)
Environment
What version of the OneSignal React-Native SDK are you using?
Latest currently (4.1.0)
How did you add the SDK to your project (eg. npm)
npm
Steps to Reproduce Issue:
Install OneSignal SDK using npm
Initialize the SDK for android with OneSignal.setAppId("XXX")
User appears on the list with a No Push Token error
Android FCM issue - The error you reported is due to a compatibility issue with OneSignal not supporting Fireabase 22 that was released in May. This is now fixed though in react-native-onesignal 4.1.1
Description: Followed up the setup multiple times making sure everything is done correctly, the user is being added to onesignal's user list with a "No Push Token" error, while it throws the below error in Android Studio:
I also followed the troubleshooting guide, and found out some outdated documentaion (like the one in onesignal's main home page!):
Example (the init function doesn't exist anymore)
Environment
What version of the OneSignal React-Native SDK are you using? Latest currently (4.1.0)
How did you add the SDK to your project (eg. npm) npm
Steps to Reproduce Issue:
OneSignal.setAppId("XXX")
No Push Token
error