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 <https://developer.apple.com>, click Member Center and then "Certificates, Identifiers & Profiles."

Login to the iOS Developer Console &lt;https://developer.apple.com&gt;, click Member Center and then &quot;Certificates, Identifiers &amp; Profiles.&quot;

2. Click on the link labeled "Identifiers."

Click on the link labeled &quot;Identifiers.&quot;

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

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

4. In the screen that appears, click on the "Edit" button.

In the screen that appears, click on the &quot;Edit&quot; button.

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

Place a checkmark next to &quot;Push Notifications&quot; and then, under Production SSL Certificate, click on the &quot;Create Certificate&quot; button.

6. In the screen that appears, click on the "Continue" button.

In the screen that appears, click on the &quot;Continue&quot; button.

7. Click on the "Choose File" button and select the Distribution Certificate 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."
Click on the &quot;Choose File&quot; button and select the Distribution Certificate used for your apps, then click on &quot;Generate.&quot;

8. Click on the "Download" button to download your new certificate and then click on "Done."

Click on the &quot;Download&quot; button to download your new certificate and then click on &quot;Done.&quot;

9. 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.

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

Right-click on the certificate and select &quot;Export ...&quot;

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

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

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

Log in to the Mag+ Publish portal &lt;http://publish.magplus.com&gt; and go to Apps &gt; iOS &gt; Apple Push Notifications.

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

Click on the &quot;Choose File&quot; button and choose your Push Notification .p12 file you exported above.

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

Click &quot;Save&quot; and the Apps &gt; iOS screen should read &quot;Complete&quot; 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."

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk