Unable to clear FCM notification badge count on Android in Ioinic Angular App
I am working on an Ionic Angular app using the Firebase FCM for sending push notifications and am using the capacitor badge to clear the count once the user enters/leaves the App. Inside the AndroidNotification interface (which is inside the AndroidConfig interface) is the property notificationCount, for setting the badge count for the App. When I use the clear method on the capacitor badge plugin, it doesn’t clear the push notification count sent through the FCM AndroidNotification interface. However if I set a count through capacitor badge plugin and clear then that works. Specifically here are some of the steps to help clarify –