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
Just Checking if the behavior is correct.
Using new 5.1.1 version of the SDK and Example app from git.
On android 12 and bellow calling PromptForPush() does not give callback at all.
the last line on console is
"Opening permission prompt for push notifications and awaiting result..."
However on android 13+ it pops up default notification view and all works as expected.
Does anyone have the same problem ? (its clean example project nothing has been changed)
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Good question! Thanks for bringing this to our attention
OneSignal.Notifications.RequestPermissionAsync() does not return if notification permission is already granted and awaits forever. This is a bug and is true for both Android 12 and 13. We plan to fix this in a future release so that it returns true if permission is already granted.
How can we help?
Just Checking if the behavior is correct.
Using new 5.1.1 version of the SDK and Example app from git.
On android 12 and bellow calling PromptForPush() does not give callback at all.
the last line on console is
"Opening permission prompt for push notifications and awaiting result..."
However on android 13+ it pops up default notification view and all works as expected.
Does anyone have the same problem ? (its clean example project nothing has been changed)
Code of Conduct
The text was updated successfully, but these errors were encountered: