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 still exist when re-install application #135

Open
SanjanaTailor opened this issue May 2, 2019 · 8 comments
Open

Badge number still exist when re-install application #135

SanjanaTailor opened this issue May 2, 2019 · 8 comments

Comments

@SanjanaTailor
Copy link

Hi all,
I installed my app and do something to add notification. There is a badge number on the icon app as I expected. But when I remove the app and then install it again, I still see the badge number on the icon app until I start the app. As my expectation, I think the badge number must be clear when the application is removed, but here, it is not.
How can I fix that?
Plugin info
"dependencies": {
"@ionic-native/badge": "^4.20.0",
"cordova-plugin-badge": "0.8.8",
}
ionic info

Ionic:

ionic (Ionic CLI) : 4.1.2 Ionic Framework : ionic-angular 3.8.0 @ionic/app-scripts : 3.0.1

Cordova:

cordova (Cordova CLI) : 9.0.0 (cordova-lib@9.0.1) Cordova Platforms : android 6.3.0 Cordova Plugins : no whitelisted plugins (14 plugins total)

System:

Android SDK Tools : 26.1.1 ( NodeJS : v8.11.2 npm : 6.9.0 OS : Windows 10

@SuperStar518
Copy link

You could think of force-clear.

cordova.plugins.notification.badge.clear();

@SanjanaTailor
Copy link
Author

@alidavid0418 : I am already doing it but this is uninstall the app so by default plugin willl call above function. can it be possible to give an example programmatically

@rnng
Copy link

rnng commented May 28, 2019

I'm facing this issue. Did you found a solution for this, @SanjanaTailor ?

@SanjanaTailor
Copy link
Author

No @rnng

@viananicolas
Copy link

viananicolas commented Jun 12, 2019

Also facing this issue.

Update: Downgraded to 0.8.6 and the error is gone.

@SanjanaTailor
Copy link
Author

SanjanaTailor commented Jun 13, 2019

@viananicolas : Is it resolved for iOS ? After uninstall and install the app shows badge count from cache(old)

@viananicolas
Copy link

Yeah, it's gone for me by uninstalling version 0.8.8 and installing an older version, like 0.8.6.

@katzer
Copy link
Owner

katzer commented Sep 27, 2019

I cannot reproduce that

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

5 participants