In order to send push notifications to all iOS mobile apps and games, you need to establish an authenticated connection with the Apple Push Notification Servers (APNs). There are two methods you can use to authenticate:

  • The older certificate-based method (.p12) or

  • The newer token-based method (.p8)

The token-based method is faster because it offers a stateless way to communicate with APNs. It doesn't require APNs to look up the certificate or any other information related to the provider server.

We now support the newer token-based .p8 key method, which allows you to send notifications to all your iOS apps and games using a single key. You can generate your .p8 key through your Apple developer account, as explained here.

Configuring iOS push notifications using .p8 keys

Here are the steps to configure iOS push notifications using .p8 keys:

  1. Go to Settings, then navigate to the APP SETTINGS section to choose the app you want to configure.

  2. On the App settings page, click on the CONFIGURE option next to In-app SDK.

  3. On the In-app SDK Configuration page, navigate to the Push Notification section.

  4. Enable the toggle for Apple Push Notification Service, if not enabled.
    The app selects the p8 key authentication type by default when you enable the toggle for the first time.

  5. Upload the p8 key and fill in all the required details.
    Select the APNs push mode(Development/Production).

  6. Click on Save & Publish to save the changes.

Note: If required, you can also switch from the .p8 key to the .p12 certificate method by selecting .p12 in the Authentication type and filling in the details.