APNS Authentication Key
Follow

APNS Auth Keys

APNS Auth keys are the recommended method to enable sending push notifications to your app installed on iOS devices.

To send push notifications to iOS users, it is required to generate the APNs Auth Key file for your application and upload it to the MoEngage dashboard.

Steps to create APNS Auth Key

To create an APNS auth key, you will need to do the following:

Step 1:

Visit the Apple Developer Member Center and sign in with your credentials.

Step 2:

Select the  Certificates, Identifiers & Profiles on the left pane.

Step 3:

On the certificates page, click on 'Keys' on the left pane as shown below.

APNS_Keys.png

Step 4:

In the Keys page that opens, click on the '+' icon to create a new auth key.

Step 5:

In the 'Register a New Key' page that opens, enter the key name and choose the Apple Push Notifications Service (APNS) in the list available below.

RegisterANewKey.png

Step 6:

Click on the Register Button.

RegisterOption.png

The Download your Keys page opens.

Step 7:

Click on Download to download your Auth key file. Please note that you can download the auth key file only once.

DownloadKey.png

Step 8:

Copy the Key ID (highlighted in the image above) available on the download page. This is required to configure push notifications in the MoEngage dashboard.

Once added, the Auth Key is listed under Keys as shown below.

KeyEnabled.png

Configuring the Auth key in the Dashboard

The following details are necessary to configure the APNS authentication key in the MoEngage Dashboard.

Navigation to Dashboard: 

Settings -> Channel => Push -> iOS

APNS_Auth_key_Dashboard.png

APNS Authentication Key File

The APNS Authentication Key File downloaded using the steps mentioned above needs to be uploaded to the dashboard.

Key ID

As explained in step 8 above, the Key ID is available when you generate the APNS auth key.

App Bundle ID

The App Bundle Identifier is case-sensitive and available in Xcode. Refer to the screenshot below to get the Bundle ID in Xcode.

Bundle_ID.png

Team ID

To get the Team ID details, click on the account name in the top right corner, then select View Account.

The following screen is displayed. Copy the Team ID from here.

Team_ID.png

Head to Configure iOS Push Settings armed with all these details and complete the iOS Push Notification configuration using APNS Authentication Keys.

Was this article helpful?
0 out of 0 found this helpful