To send Push Notifications on iOS you need to have Apple Push Notification certs generated in your iOS developer account. Details on how to generate these required credentials are given below.
Setting up APNs Certificates
To integrate XtremePush with an app you need to upload certificates to your app dashboard on xtremepush.com. These are iOS Push Notifications certificates required to send pushes to iOS devices. To obtain these certs:
- Go to: https://developer.apple.com/membercenter/
- Log in
- Select Certificates, Identifiers and Profiles
Select "App Ids" under identifiers column.
Select the app you are integrating with XtremePush and choose "Edit".
In iOS App ID Settings select the Push Notifications Check Box and then Click "Create Certificate" in "Development SSL Certificate".
Follow Apple's step by step instructions to generate the certificate. Download the certificate when prompted to do so.
Repeat's this procedure for the "Production SSL Certificate". Push should now be enabled for development and distribution.
Now that both certs have been created both certificates must be uploaded to xtremepush.com to link your app to the XtremePush platform. Download the certificates if you have not already done so and then open them.The certificates will open in Keychain Access. Select your certificate and expand it to see a key under it. Hold Command button on your keyboard to select both certificate and key, right click select 'Export 2 items'.
Choose the default export format (.p12) and export the certificates. Log in to your XtremePush dashboard on xtremepush.com go to your app home and navigate to Settings > Certs and Keys and upload the two exported certificates.