katzer / cordova-plugin-badge

Access and modify badge numbers
Apache License 2.0
409 stars 252 forks source link

Badge count not removing when clear Data perform from settings screen in android #134

Open SanjanaTailor opened 5 years ago

SanjanaTailor commented 5 years ago

@katzer : Can you please help me on it ? https://ionicframework.com/docs/v3/native/badge/ installed this plugin

Plugin info "dependencies": { "@ionic-native/badge": "^4.20.0", "cordova-plugin-badge": "0.8.8", }

I am facing issues for badge plugin . From settings screen open application -> application info -> clear data After that also on app icon badge count is displayed. so after clear data from settings screen badge count should not display

this.Subscription = Observable.interval(5000) .subscribe((val) => { this.badge.set(15); }); 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

katzer commented 5 years ago

Despite the internal fact that the plugin stores some data, there's no connection between the app icon badge and the data.

SanjanaTailor commented 4 years ago

Thank you but after clear data also it shows same badge count on app icon for android