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
Sometimes, when canRequestPermission() resolves to true, a subsequent call to requestPermission() fails to show a prompt. This is to say that sometimes canRequestPermission() says true when it should really say false.
Steps to reproduce?
1. Call `requestPermission()` a few times and keep declining the permission until it stops showing a prompt.
2. Call `canRequestPermission()` and observe that it resolves to `true`, which is wrong.
What did you expect to happen?
canRequestPermission() resolving to true should imply that a following call to requestPermission() will show a prompt.
OneSignal Cordova SDK version
5.0.1
Which platform(s) are affected?
iOS
Android
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Hello there--apologies that this issue has gone stale. We have made many improvements to our SDK since this was reported that should resolve this issue. Please update to our latest version and if you still have any problems, feel free to create a new issue. Thanks!
What happened?
Sometimes, when
canRequestPermission()
resolves totrue
, a subsequent call torequestPermission()
fails to show a prompt. This is to say that sometimescanRequestPermission()
saystrue
when it should really sayfalse
.Steps to reproduce?
What did you expect to happen?
canRequestPermission()
resolving to true should imply that a following call torequestPermission()
will show a prompt.OneSignal Cordova SDK version
5.0.1
Which platform(s) are affected?
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: