iOS - Reference - Updating Your Provisioning Profiles to Accept Push Notifications

In order to send in-app messages to your users, you must have the following items in place:

  • Push Notifications must be enabled on your App ID.
  • Your Distribution Certificates must have been built after Push Notifications was enabled.
  • Your Provisioning Profiles must have been built after Push Notifications were enabled and uploaded to the mag+ Publish portal.
  • Your Push Notification Certificate must be uploaded to the mag+ Publish portal.

If any one of these items is not in place, you will be unable to send Push Notifications to your users.

You can check your provisioning profiles to see if Push Notifications are active by reading the article "iOS - Reference - Checking If Your Provisioning Profiles Accept Push Notifications."

How to Update Your Provisioning Profile and Upload a New Push Notification Certificate and Provisioning Profile

1. Login to the iOS Developer Console , click "Certificates, Identifiers & Profiles."

3. Click on the App ID you created previously for your app.

4. Place a checkmark next to "Push Notifications"  Edit and then, under Production SSL Certificate, click on the "Create Certificate" button.

5. Click on the "Choose File" button and select the  Csr file used for your apps, then click on "Generate."

Note: You can download your existing Distribution Certificate from the mag+
Publish portal if you do not have the original copy at hand. The 
certificate is located in Apps > iOS > Certificate and Provisioning Files. 
Simply click on the file name under the words "Distribution Certificate."

6. Click on the "Download" button to download your new certificate.

7. Double-click the 'aps.cer' file to install it in Keychain Access.

It will have the name "Apple Production iOS Push Services" and will expire one year from today's date.

Double-click the 'aps.cer' file to install it in Keychain Access.

8. Right-click on the certificate and select "Export ..."

Right-click on the certificate and select "Export ..."

9. Save the file as a .p12 file on your desktop.

Save the file as a .p12 file on your desktop.

10. Log in to the mag+ Publish portal  and go to Apps > iOS > Apple Push Notifications.

Log in to the Mag+ Publish portal <http://publish.magplus.com> and go to Apps > iOS > Apple Push Notifications.

11. Click on the "Choose File" button and choose your Push Notification .p12 file you exported above.

12. Click "Save" and the Apps > iOS screen should read "Complete" next to Apple Push Notifications.

Click "Save" and the Apps > iOS screen should read "Complete" next to Apple Push Notifications.

You can now build your app again and upload it to the Apple Store so that your users can receive Push Notifications. For more information on submitting an app update, read the article "Update Your iOS App."

0 Comments

Please sign in to leave a comment.
Powered by Zendesk