iOS App Certificates
Note: Before generating certificates, make sure all Apple test devices are present in the developer account here: https://developer.apple.com/account/resources/devices/list (more info)
To find the UDID, plug the device into a mac and view it in finder. Right click on the device name to copy the UDID.
Help: https://docs.apppresser.com/article/298-ios-push-notifications
You will generate the following files:
- iOS Distribution .p12 .p12 file from Keychain Access.
- iOS Production Certificate .cer file from your developer account.
- iOS Distribution SSL .p12 .p12 file from Keychain Access.
Register an App ID
-
Login to developer.apple.com/account and click on Identifiers.
-
Click on the blue plus button to Register a New Identifier.
-
Go to AppIDs > App and create a new app ID for the app. Enter the client name in the description. For the bundle ID, use a reverse domain for the subdomain of the client site.
Example: If the subdomain is
cornerstone.digitalchurch.app
, we will useapp.digitalchurch.cornerstone
for the App ID. -
Enable the capability for Push Notifications and click Continue.
-
Confirm the details and click Register.
-
Login to the AppPresser Dashboard and visit the Metadata tab for the app. Update the App Store Bundle ID there as well.
iOS Production SSL Certificate
iOS Push Notifications: Create Production SSL Certificate and .p12
- Login to developer.apple.com/account and click on Identifiers.
- Click on the App ID and scroll down to the Push Notifications capability. Click on the Configure button.
- Under the Production SSL Certificate settings, click on the Create Certificate button.
- Upload your Certificate Signing Request file and click Continue.
- Download your
aps.cer
file and move it into the client app certificates folder. - Rename the file to identify it as a production certificate for the spefic app. (Example:
cornerstone_prod.cer
) - Open the file in Keychain Access.
- Select the new production certificate file and your private key in Keychain Access and export to a .p12 file. Use the same password we used to generate the development certificate. (Should be in 1Password)
- Go to the AppPresser Dashboard and visit the Features > Push Notifications tab for the app.
- Upload the .p12 file to AppPresser and enter the password there.
iOS Ad Hoc Provisioning Profile
iOS Push Notifications: Create provisioning profile
- Login to developer.apple.com/account and click on Profiles.
- Click on the blue plus button to Register a New Provisioning Profile.
- Under Distribution, select Ad Hoc.
- Choose the App ID for the app we are building and click Continue.
- Choose the current Distribution Certificate and click Continue. (This MUST be the same certificate we used on previous files for this app.)
- Select the devices you wish to test with and click Continue.
- Name the Provisioning Profile using the Client App Name. (Example: Cornerstone Ad Hoc) and click Generate.
- Download the new ad hoc .mobileprovision file and move it into the client app certificates folder.
- Login to the AppPresser Dashboard and visit the Features > Push Notifications tab for the app. Upload the ad hoc provisioning profile there.
- Once you've completed the setup for the push notifications, you should see an AppPresser notifications key at the bottom of the Features > Push Notifications page in the AppPresser Dashboard. Copy that key and save it in the Wordpress dashboard for the client website. (Example: https://cornerstone.digitalchurch.app/wp-admin/options.php?page=apppresser_settings&tab=tab-appp-notifications)
- Enter the App Customizer and Rebuild a Preview of the app.
iOS Production Provisioning Profile
iOS Push Notifications: Create provisioning profile
- Login to developer.apple.com/account and click on Profiles.
- Click on the blue plus button to Register a New Provisioning Profile.
- Under Distribution, select App Store
- Choose the App ID for the app we are building and click Continue.
- Choose the current Distribution Certificate and click Continue. (This MUST be the same certificate we used on previous files for this app.)
- Select the devices you wish to test with and click Continue.
- Name the Provisioning Profile using the Client App Name. (Example: Cornerstone Production) and click Generate.
- Download the new production .mobileprovision file and move it into the client app certificates folder.
- Login to the AppPresser Dashboard and visit the Features > Push Notifications tab for the app. Upload the production provisioning profile there WHEN YOU ARE READY TO ENABLE LIVE PUSH NOTIFICATIONS. (Continue to use the Ad Hoc certificte until then.)