Closed shefich closed 1 year ago
@shefich From the log message you provided, it looks like the SDK has not yet been initialized. Can you please confirm that OneSignal.Default.Initialize
has been called prior to your call to OneSignal.Default.PromptForPushNotificationsWithUserResponse();
?
Thanks!
It looks like this is duplicating #565
Hi @shefich can you confirm if the above suggestion resolved your issue? Thanks!
Hi @brismithers I think it is solved based on your suggestion.
awesome glad we could help @shefich!
What happened?
The latest version of SDK gives such error if "OneSignal.Default.PromptForPushNotificationsWithUserResponse();" used in code Happens only on Android 13 devices. Need to have use case of this code in tutorial.
Steps to reproduce?
What did you expect to happen?
No crash expected
Unity version
2021.2.15
OneSignal Unity SDK version
3.0.7
Platform
Android
Relevant log output
Code of Conduct