I have developed server side application to maintain the badge number as increment or decrement after receiving new notification and delete after seeing notification it works fine.
But there is some problem in showing the badge, the actual scenario is - After getting new notification on device, I am click on cancel button then badge number shows correctly but after that I will open the application and close the application badge will be removed. That means I am not sending request to the server that notification was seen by me and now you can decrement the badge by one. Then also badge removed from app icon.
My question is that when we open the application then badge number automatically removed from (application) device? or it will shows as it is until we set to zero?