I am trying to get a badge to show up on my app icon when a notification is received. I am using the ionic native push plugin and node-gcm to send the notification.
I can get a badge to show up for IOS by adding a count to the payload. But this doesn’t increase for each push. It just sets the badge number to whatever the number is that is set in the payload.
I can’t get any badge to show for android.
I know there is a badge plugin, but is there a way to get this to run when the app isn’t open?
Anyone have a solution for this? It would be greatly appreciated.