Open
Description
Feature Request
Describe the Feature Request
iOS (and some Android) notification payloads often contain the number of unread notifications, however currently this value can't be used. Support setting and getting the notification badge count by implementing getBadgeCount
and setBadgeCount
methods.
I notice this feature has been mentioned in other issues too (#1301 ionic-team/capacitor#837 etc). It is also currently a supported feature of the phonegap push plugin. See push.setApplicationIconBadgeNumber
and push.getApplicationIconBadgeNumber
at https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/API.md
Platform Support Requested
- Android
- iOS
- Electron
- Web
Describe Preferred Solution
Add getBadgeCount
and setBadgeCount
methods