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. Once you have generated your APNS push credentials log into your XtremePush dashboard on xtremepush.com. Go to your project home and navigate to Applications and on the right-hand side click the "Settings" link next to the relevant iOS application. Upload the two exported certificates using the two upload buttons at the bottom and click save. Note: be sure to upload production cert to production and sandbox to sandbox and do not forget to click save.
Comments
0 comments
Article is closed for comments.