What happened?
I am using OneSignal latest SDK in my Android app. We had several beta users earlier in our app. Now we did a full roll out to production. So push notifications for those few beta users are not working and there are no subscription records of those device/users in OneSignal dashboard. It works fine for other thousand of users. but not for these few users. We already asked them to clear their cache, uninstall app and freshly install the app. We double checked that they have given push permission properly.
So what could be the cause of this? Since this happens in Prod I don't have user device's OneSignal logs.
Here is some code for init, setting up external id and push permission:
Initialization of OneSignal
OneSignal.initWithContext(applicationContext, oneSignalAppId)
set external id:
OneSignal.login(userIdx)
This is how i ask permission:
CoroutineScope(Dispatchers.IO).launch {
OneSignal.Notifications.requestPermission(true)
}
Also enabled Push permission prompt for that user and he always received that and he always click on Allowed button. He tried on another device and its work fine there but not working on his regular android device. Most of them have a Samsung Galaxy Android 14 devices.
Can any one help on this?
Steps to reproduce?
Device is not subscribe into onesignal
What did you expect to happen?
It should subscribe and should receive push notification
OneSignal Android SDK version
5.1.7
Android version
13
Specific Android models
Relevant log output
No response
Code of Conduct
What happened?
I am using OneSignal latest SDK in my Android app. We had several beta users earlier in our app. Now we did a full roll out to production. So push notifications for those few beta users are not working and there are no subscription records of those device/users in OneSignal dashboard. It works fine for other thousand of users. but not for these few users. We already asked them to clear their cache, uninstall app and freshly install the app. We double checked that they have given push permission properly.
So what could be the cause of this? Since this happens in Prod I don't have user device's OneSignal logs.
Here is some code for init, setting up external id and push permission:
Initialization of OneSignal
OneSignal.initWithContext(applicationContext, oneSignalAppId)set external id:
OneSignal.login(userIdx)This is how i ask permission:
Also enabled Push permission prompt for that user and he always received that and he always click on Allowed button. He tried on another device and its work fine there but not working on his regular android device. Most of them have a Samsung Galaxy Android 14 devices.
Can any one help on this?
Steps to reproduce?
What did you expect to happen?
It should subscribe and should receive push notification
OneSignal Android SDK version
5.1.7
Android version
13
Specific Android models
Relevant log output
No response
Code of Conduct