Skip to content
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

Native: tried calling Badge.registerPermission, but the Badge plugin is not installed. #105

Closed
dalezak opened this issue Nov 15, 2017 · 4 comments

Comments

@dalezak
Copy link

dalezak commented Nov 15, 2017

Running into an issue trying to use the plugin with ionic-angular 3.9.2 and @ionic-native/badge 4.3.3.

Native: tried calling Badge.registerPermission, but the Badge plugin is not installed.
Install the Badge plugin: 'ionic cordova plugin add cordova-plugin-badge'

I believe it's related to the issue danielsogl/awesome-cordova-plugins#1856.

@PavlezT
Copy link

PavlezT commented Dec 21, 2017

I have the same problem and it is very annoying, because I need to build a release of app! But unfortunately I can`t(

@PavlezT
Copy link

PavlezT commented Dec 23, 2017

I use such call of registerPermission
cordova.plugins.notification.badge.registerPermission(function(text){console.log('permis:',text)});

It worked for me.
And important, that I have changed my User-Agent, so script couldn't get that this is IPad or iPhone.

@katzer
Copy link
Owner

katzer commented Mar 7, 2018

The method you are trying to call is requestPermission(...)

@danielsogl
Copy link

Fixed in the ionic-native wrapper. You can close this issue.

@katzer katzer closed this as completed Nov 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants