I am developing an iOS app that aims to receive push notifications as does whatsapp. But I do not know how to make the app when closed (idle, I do not mean in background), this update the badge counter. I can only send payload from a static number, but I can not update the total number of notifications.
I searched a lot but I've only found a way to upgrade from background or foreground but never when fully closed. However whatsapp can.
Thank you very much for your attention and apologies for my English.