You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The push subscription observer will fire for any change to the push subscription. In this callback, it may be that the push token has been changed but the subscription ID has not yet become available.
Once the subscription ID becomes available, your observer should fire again. You can do a null check for the subscription ID before saving it with savePlayerid().
Please check the previous state and compare to the current to see what changed.
Also please let us know the exact OneSignal SDK version you are using, rather than the range [5.0.0, 5.99.99].
What happened?
Steps to reproduce?
What did you expect to happen?
I need the player ID for push notifications
OneSignal Android SDK version
'com.onesignal:OneSignal:[5.0.0, 5.99.99]'
Android version
14
Specific Android models
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: