An app must register with Apple Push Notification service (APNs) to receive remote notifications sent by the app’s push provider. In iOS 8 and later, registration has four stages:
- Register the notification types your app supports using
- Register to receive push notifications via APNs by calling your app’s
- Store the device token returned to the app delegate by the server for a successful registration, or handle registration failure gracefully.
- Forward the device token to the app’s push provider.