Lesser known facts about Push Notifications in iOS
1 min readJul 19, 2022
here I will not walk through basic rather than talk about more interesting challenges faced in real life
- Notification token generation doesn’t depend upon the user’s permission. It will deliver the token as soon you register for it by calling UIApplication.shared.registerForRemoteNotifications(). You always get a token from APNS, independent of the user’s permission.
- Silent Notification don’t require user permission you can deliver it on user device if background fetch capability is ON.

- A silent push notification is not meant to awake the application when the user killed the application. (it may or may not awake from killed for more see my question) but the system only relaunches your application from suspend state to background state. In short, it will only get a notification if the app is active or suspended by iOS.
- APNs can issue a new device token for a variety of reasons: e.g reinstalling the operating system restores device from a backup. As a result, apps must request the device token at launch time.
In case you have any suggestion to add in the list feel free to comment.
Thanks for reading! 🚀