A Push Notification Certificate is necessary in order to send push notifications to attendees via your app. In order to create a Push Notification Certificate, follow the steps below.
- Navigate to Apple Developer and log in.
- Click on 'Certificates, Identifiers & Profiles'.
- Select 'App IDs' and locate the App ID associated with your app.
- Click on your App ID. Push Notifications will still show as “Configurable”.
- Scroll down to the bottom and click on the 'Edit' button.
- Your App ID is now in Edit Mode. Scroll down and find the Push Notifications section, the box should be checked. You will see two options to create a certificate: Development SSL Certificate and Production SSL Certificate. You are going to create a Production SSL Certificate; click on the button 'Create Certificate'.
- Follow the instructions to create a Certificate Signing Request (CSR) file. Click on 'Continue' to confirm you have a CSR file ready.
- Click on 'Choose File' and use Finder to find your CSR file, select it, and click on 'Choose' in the dialog window. It will now be visible in the browser.
- Click on 'Continue'. It will take a moment to show the next window.
- Your certificate is ready for download. Click on 'Download'.
- Locate the downloaded file, called “aps.cer”, on your Mac and click on it. It will trigger Keychain Access to open and it will ask you if you want to add this certificate to your keychain. Click 'Add'.
- To find the certificate in Keychain Access, you can use the Search field in the top-right of the dialog window. Type in the Bundle ID of the App ID. You can now confirm that the Push Certificate was correctly created, is valid, and has an associated private key.
- Next, you will export this certificate and save it as a .P12 file. First, you must unselect it in the list. Click somewhere below the certificate in an empty space in the Keychain Access dialog window.
- Right-click on the certificate to show the contextual menu. In the menu that appears, select Export: "Apple Push Services...”
- A dialog box will open. Select a location to save the file. Give it a recognizable name. For example, “appname_pushcert”. Then click 'Save'.
- Another dialog will open, asking you to enter a password, which will protect the P12 file. Type in "doubledutch2018" and enter it twice as requested. Click 'OK'.
- Next, send the saved P12 file in an email to your DoubleDutch representative. The DoubleDutch App Operations team will upload this to the back-end admin system. You will be notified when you can test Push Notifications on your app.
Continue to the next step in the distribution process: How to Create a Distribution Certificate.