I am stating to implement push notifications in my app and have a question about the badge count. I would like my app to behave like email and other apps, such that every time an alert is received the badge count number increments.
Since the badge count number is part of the payload, what is the best way to have it increment?
When I send my first notification with the message and badge number, what do I do on subsequent notifications? Do I need to store all the notifications I send?
Any clarification on this would be most helpful.
Thanks for the help!
If you want to increment the number, you have to keep track of it on the server, there’s no other way.