taivo / parse-push-plugin

Push notification plugin for Cordova/Phonegap/ionic on Parse platform
118 stars 102 forks source link

Badge Management #98

Open cktg opened 7 years ago

cktg commented 7 years ago

The red circle badge on the App icon is reset when notification is open by the app or via notification tray.

However if user clears it from notification tray, the badge would persist. How should I reset it thereafter?

Also, when the app is closed, Is it possible to store push notification payload in localstorage as it arrives in the notification tray, then retrieve and display the message when user open the app by clicking the App icon?

avilasolucoes-naora commented 7 years ago

Use https://github.com/katzer/cordova-plugin-badge to set badge in another moments.