iOS Push Notifications

First, create your push notification certificates.

We can create your these for you. Reach Out to us with your iOS account username and password, and a link to your app in My AppPresser. Make sure you have an active, paid account, and 2-factor authentication is disabled.

We will send you the certs you need to upload in My AppPresser and PhoneGap Build.

  1. In your My AppPresser app dashboard, visit the push notifications tab, then click "Push Profiles." Upload the certs we sent and save. (Note that if you re-save this form you have to re-upload the certs each time.)
  2. Add the PhoneGap Build certs we sent as a new signing key, click here for help.
  3. In your app customizer, check "enable push notifications" in the settings tab and save.
  4. Visit the build tab and add your PhoneGap Build auth token, if you haven't already. Do a hard refresh of the whole page.
  5. Choose the correct signing key for iOS and save. Rebuild.

Note: you cannot test push notifications on iOS unless you use an AdHoc provisioning profile in PhoneGap Build and rebuild. We do not normally create these for you unless you ask.

Note on iOS testing: to test iOS notifications, add your production profiles as normal in myapppresser.com. For PhoneGap Build, use the same distribution .p12, but an ad hoc provisioning profile. To reiterate, nothing changes except the profile in PG Build.

To create iOS certs yourself manually, please read below.


iOS push notifications require that you build your app with the correct certificates, and use a provisioned device to test. You will create 2 .p12 files that are password protected, along with 1 provisioning profile.

iOS Step I, create app .p12

In order to use push notifications, your app needs to be built with a .p12 file and a .mobileprovision file from your developer account.

1. Create .p12 file for Phonegap Build

a) Login to your iOS developer account:    https://developer.apple.com/account, go to "Certificates, Identifiers, and Profiles."

b) Click on Certificates->Production (or Certificates->Distribution if no Production option is listed), then click the plus sign at the top right.

c) Choose "App Store and Ad Hoc"

d) Follow the prompts to generate and upload a Certificate Signing Request. This is done in Keychain Access on a mac under the Keychain Access menu at the top -> Certificate Assistant.

e) Click generate, and download the certificate file. It is best to name this file uniquely, such as adhoc-myname-thedate.

Next you need to convert the certificate you just downloaded into a .p12 file.

f) Double click the certificate you just downloaded, this will open Keychain Access. Find and select the certificate, it will say "iPhone Distribution: Your name."

g) Expand the certificate name, and select both the certificate and the key below it.

h) Right click with both lines selected, and choose Export. Save the file and give it a password.

This is the file you will upload to Phonegap Build along with your provisioning profile (below).

iOS Step II, create Production SSL certificate and .p12

1. Create an app ID with push enabled

First, you need to create an App ID.  In myapppresser.com, go to App Customizer => Settings to view or change your app ID.

a) Login to your iOS developer account:    https://developer.apple.com/account, go to "Certificates, Identifiers, and Profiles."

b) Under "Identifiers," click App IDs.

c) Click the plus sign at the top right to add a new App ID. Fill out the fields, making sure to choose Explicit app id, and enter your app ID. *This must be the same App ID that you put in myapppresser.com under App customizer => Settings =>  App ID.

d) Under "App Services" check Push Notifications, then click Continue, then Submit.

2. Download Push SSL certificate

a) Go back to App IDs (see image from 1b), and click the app ID you just created to expand it.

b) Click "Edit."

c) Scroll down to "Push Notifications" and under Production SSL Certificate, click Create Certificate.

d) Follow the prompts to generate and upload a Certificate Signing Request. This is done in Keychain Access on a mac under the Keychain Access menu at the top -> Certificate Assistant.

e) Download the certificate, and give it a name like yourappname-ssl.cer

3. Generate your .p12 file

Next you need to generate a .p12 file that you will upload to myapppresser.com under My App => Push Notifications Profiles.

a) Double click the certificate you downloaded in step 2, this will open Keychain Access. Find and select the certificate, it will say "Apple Production IOS Push Services: com.yourapp.name."

b) Right-click and choose Export. Follow the prompts to save this file and create a password.

c) Go to myapppresser.com and upload the resulting .p12 file under Apps => My App => Push notifications => Notification profiles. Enter your password in the field below that, then save.

iOS Step III, create provisioning profile

The final step is to create a provisioning profile that will also be uploaded to Phonegap Build.

a) Login to your iOS developer account:    https://developer.apple.com/account, go to "Certificates, Identifiers, and Profiles."

b) Under "Devices," add your device name and UDID.    How to find your UDID.

c) Under "Provisioning Profiles," click Production, then click the plus sign at the top right.

d) Choose "Ad Hoc" for testing your app (if you want to submit to the app store only, choose app store).

e) Choose the app ID you created in step II.

f) Choose the certificate you created in step I.

g) Choose the devices you want to test the app with.

h) Give the profile a name like adhoc-appname, generate and download.

This is the provisioning profile you will upload to Phonegap Build along with the .p12 from step I.

Add your signing keys to Phonegap Build

For further information, please see the documentation at build.phonegap.com.