Open yashdeep-itech opened 2 months ago
Same issue. In my case it doesn't always happen. But sometimes it happens after changing appId in appication. We have one appId for production environment and another one for development. Changing environments causes changing appid in already installed application. After this empty subscription id starts returning. Clearing storage / Deleting application helps but I wish it weren't needed
P.S. One signal flutter sdk version is 5.2.0
What happened?
The subscriptionId is unexpectedly empty despite being non-null. This issue has emerged recently; approximately six months ago, the functionality was functioning correctly. I also tried OneSignal.login(), still getting subscription id as empty string
Steps to reproduce?
What did you expect to happen?
I expected to get subscription id from this line of code OneSignal.User.pushSubscription.id
OneSignal Flutter SDK version
5.2.2
Which platform(s) are affected?
Relevant log output
Code of Conduct