Apple Push Notification (APN) connection

Estimated reading time: 1 min

Doc status: updating

As far as the URL server is concerned, you have two possibilities:

  • Development server: api.sandbox.push.apple.com:443
  • Production server: api.push.apple.com:443
To find your app bundle name, go to the apple developer : developer.apple.com
Then once you are connected, go to “Identifiers”.
 
1 Apple Push Notification (APN) connection
 
Search for your application, the bundle name is on the right of your application name (in the red square)
 
2 Apple Push Notification (APN) connection
 
then click on the name of your application, then scroll down and check the “push notification” box.
 
3 Apple Push Notification (APN) connection
Go to Keychain (if you have a mac the application is already installed). After opening the application, click on “keychain access” in the top left corner. Then, “certificate assistant” and “request a certificate from a Certificate autority”.
 
a Apple Push Notification (APN) connection
 
Fill in your user mail address and click on Saved to disk, this is important. Then, continue
 
b Apple Push Notification (APN) connection
 
A certificate will be downloaded, but it is not finished yet
 
c Apple Push Notification (APN) connection
 
Go back to the apple developer, and go to “Certificates”.
 
d Apple Push Notification (APN) connection
 
Click on the plus located to the right of “certificate”. And check the box “Apple push notification service SSL (Sandbox & Production). Then, click on continue.
 
e Apple Push Notification (APN) connection
 
Find the name of your application and select it. Then continue.
 
f Apple Push Notification (APN) connection
 
Then click on “choose a field” and select the previously downloaded certificate. Continue. Then click on “download”.
 
g Apple Push Notification (APN) connection
 
Once your file is downloaded, open it. Expand the file shown below and select the two, then export the two items.
 
h Apple Push Notification (APN) connection
 
j 1 Apple Push Notification (APN) connection
 
This new file is not yet readable, you need to enter a command (the one below).
 
i Apple Push Notification (APN) connection
 
A new file will be created. This is the one you will have to enter in order to establish the connection with Wiresk.
 
j 2 Apple Push Notification (APN) connection