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

Badge Number does not reset #16

Open
rorystandley opened this issue May 11, 2013 · 1 comment
Open

Badge Number does not reset #16

rorystandley opened this issue May 11, 2013 · 1 comment

Comments

@rorystandley
Copy link

Where do I put the pushNotification.setApplicationIconBadgeNumber() in order to reset the badge number. It just keeps incrementing by the value I specify in the push.

When I open the app, the badge visibly is removed from the icon, however when I then send through another push the number has not been reset.

Thanks

@hstan
Copy link

hstan commented Aug 20, 2013

@rorystandley I noticed there is a failure when calling native code. It might not right to pass a dictionary as parameter to invoke setApplicationIconBadgeNumber.
Refer to https://github.com/mgcrea/cordova-push-notification/pull/18/files

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

2 participants