If you’d like to send push notifications to your iOS users, you will need to upload either an APNs Push Certificate, or an APNs Auth Key.
We recommend that you create and upload an APNs Auth Key for the following reasons:
- No need to re-generate the push certificate every year
- One auth key can be used for all your apps – this avoids the complication of maintaining different certificates
When sending push notifications using an APNs Auth Key, we require the following information about your app:
- Auth Key file
- Team ID
- Your app’s bundle ID
To create an APNs auth key, follow the steps below.
Visit the Apple Developer Member Center.
Click on “Certificates, Identifiers & Profiles”.
Go to Keys from the Left Menu.
Create a new Auth Key by clicking on the “+” button in the top right corner.
On the following page, add a Key Name, and select APNs
Hit the Continue button.
On this page, you will be able to download your auth key file. Please do not rename this file, and upload it as it is to our dashboard, as shown later below.
Locate and copy your Team ID – click on your name/company name at the top right corner, then select “View Account”.
Copy your Team ID, and head over to the CleverTap dashboard, and navigate to Settings -> Mobile Push -> iOS.
Upload the APNs Auth Key file while you downloaded earlier, and paste your Team ID and your app’s bundle ID. Your app’s bundle ID can be found in Xcode.
Also, select the appropriate mode for sending push notifications, i.e. either Production or Development.
Updated about a year ago