Apps in IOS generally show a badge counter telling how many unread notifications are pending for that app. My understanding is that, to update the badge counter, increment or decrement, we need to send a push notification with the current counter value.
I was testing the behaviour of Gmail app, and even if I mark a message as read on my laptop's browser, the counter on App on IOS got decremented to represent the correct value, without receiving any push notification. I had killed the app on IOS before testing it.
I am wondering how Gmail does that. Can silent push notifications, let us update the app badge counter without showing notification alert? Do silent push notifications work at all, when the app is in killed state?