iOS - Reference - Checking If Your Provisioning Profiles Accept Push Notifications

Push Notifications must be enabled in your Provisioning Profile before you build your app in order to send Push Notifications to your users. This article will help you check to see if the service is enabled.

There are two ways to do this:

  1. You can check your provisioning profile in iTunes Connect to see if the service is active. This is the easiest, but you can only depend on this method if you are 100% sure that your provisioning profile was not modified after you built your app. If you are unsure of this, option 2 will tell you for sure.
  2. You can download your profile from the Mag+ Publish portal and open it in a text editor to check if a certain string appears. This guarantees that your profile supports Push Notifications.

How to Check if Push Notifications Are Active in iTunes Connect

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 "Provisioning Profiles."

Click on &quot;Provisioning Profiles.&quot;

3. Click on the App Store Provisioning Profile you uploaded to the Mag+ Publish portal.

Click on the App Store Provisioning Profile you uploaded to the Mag+ Publish portal.

4. A details view will appear that allows you to see if Push Notifications is active.

If "Push Notifications" are part of the services enabled for that profile, then you can send Push Notifications to your users. If Push Notifications does not appear, then you will need to create a new distribution certificate and provisioning profile, upload it to the Mag+ Publish portal, and rebuild your app.

A details view will appear that allows you to see if Push Notifications is active.

How to Check an Uploaded Certificate to See if Push Notifications Are Active

1. Log in to the Mag+ Publish portal at <http://publish.magplus.com>.

Log in to the Mag+ Publish portal at &lt;http://publish.magplus.com&gt;.

2. Go to Apps > iOS > Certificate and Provisioning files.

Go to Apps &gt; iOS &gt; Certificate and Provisioning files.

3. Download both the App Store and Ad Hoc Provisioning Profiles by clicking on their names.

Download both the App Store and Ad Hoc Provisioning Profiles by clicking on their names.

4. After downloading, open the files in a text editor and search for the string "<key>aps-environment</key>."

After downloading, open the files in a text editor and search for the string &quot;&lt;key&gt;aps-environment&lt;/key&gt;.&quot;

If both files contain those keys, then you can upload a Push Notification Certificate to the Mag+ Publish portal. If they do not exist, you must create new distribution certificates, save them as provisioning profiles, upload them to the Mag+ Publish Portal along with a Push Notification Certificate, and rebuild your app.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk