subscriptionChange is not being triggered. I expect it to be called when permission has been granted and the web worker is loaded. Because of this we can't get the user id. We use this in a PWA, so we run it in Android and iOS, only after the app is closed and opened again we are able to get the user id.
What happened?
subscriptionChange is not being triggered. I expect it to be called when permission has been granted and the web worker is loaded. Because of this we can't get the user id. We use this in a PWA, so we run it in Android and iOS, only after the app is closed and opened again we are able to get the user id.
The following issue seem to describe the same: https://github.com/OneSignal/OneSignal-Android-SDK/issues/749
What browsers are you seeing the problem on?
Chrome (Chromium), Safari
What operating system are you running?
PWA Android (and maybe iOS devices?)
Steps to reproduce?
What did you expect to happen?
I expected to see the console log inside the subscriptionChange listener.
Relevant log output
No response