How do apps like messenger, whatsapp etc, are able to update their badges when you get new messages, given that you may have disabled push notifications ? (as I did)
In other words, what is the proper way to let the user know he got new messages thanks to the badge when he did not allow notifications ?
Do all these apps just scheduled a loop task constantly asking the server if there is something new ? This doesn't sound realistic nor efficient.
Or is there some mechanism that would allow the server to send the information to the app ? (given that notifications are disabled, again)