-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Badge Plugin registerPermission returns "Plugin not installed" on iOS #1856
Comments
Same error with ionic-native/badge v4.3.0 |
I'm having the same problem using |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
Current behavior:
Badge Plugin registerPermission returns "Plugin not installed".
Expected behavior:
Should return true or false
Steps to reproduce:
Install Badge Plugin, call registerPermission and run on iOS device
Related code:
Other information:
According to katzer/cordova-plugin-badge#98 the method
registerPermission
was renamed torequestPermission
This works:
(<any>window).cordova.plugins.notification.badge.requestPermission((granted) => {})
package.json info:
ionic info
The text was updated successfully, but these errors were encountered: