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
Hi @RZR666 apologies for the delay. hasPermission has been deprecated and replaced with getPermissionAsync which will return the correct value. Please update to the latest SDK and let us know if you are still facing any issues.
What happened?
let permission = window.plugins.OneSignal.Notifications.hasPermission();
I can see that I have push notifications enabled but the above returns false.
"@angular/core": "^15.2.8",
"@ionic/angular": "^7.0.4",
"cordova-android": "11.0.0",
"onesignal-cordova-plugin": "^5.0.3",
Steps to reproduce?
What did you expect to happen?
It should show true.
OneSignal Cordova SDK version
5.0.3
Which platform(s) are affected?
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: