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?
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?