SDK

Platform Configuration

Before you can start sending messages in iOS, you will have to issue an APNS certificate. This is done via Apple's Developer Portal. Keep reading this document to learn how to create an APNS certificate.

Creating an App ID

In this document we will assume you did not create an App ID yet and we will guide through this process.

Start by signing in Apple's Developer Portal. Once you've sign in, you should click in the Certificates, IDs & Profiles menu item:

developer portal menu

This will take you to a new page where you should locate the Identifiers menu item:

developer portal identifiers

In this new page, click in the plus icon:

developer portal create app id

In this page, select the App IDs option:

developer portal app ids

Then go ahead and click in Continue:

developer portal continue button

You are now about to register a new app, start by providing a name for your app and the identifier for your app, this should take the form of a reverse DNS name (eg.: com.mydomain.myapp):

developer portal app id settings

Finally you should select which capabilities your app will use. Obviously you should check all the services you want to use:

developer portal capabilities

Once you are done selecting your app's capabilities, click in Continue:

developer portal continue button

You will then see the confirmation screen with all the services you've selected, if everything is OK go ahead and finish creating your App ID by clicking in Register:

developer portal app id confirm

After that, your app will be in the list of App IDs as shown below:

developer portal app id

Generate an APNS Auth Key

Apple introduced this new authentication mechanism with the new APNS service launched in 2016. With these auth keys, you are able to generate one single key for all the apps in your Apple's Developer account. These keys also never expire which makes it easier to manage although if you revoke and generate a new key used by multiple apps, you will need to upload it to all the providers where the revoked key is used.

In Apple's Developer Portal, locate the Certificates, IDs & Profiles menu item:

developer portal menu

In this new page, click in the Keys menu item:

developer portal keys

Then go ahead and click in the plus icon:

developer portal keys icon

In this new page, name the key you are about to register and select the services you want to use (in this case you should select Apple Push Notification service):

developer portal register key

Click in the Continue button:

developer portal continue button

In the next page, confirm the data and click in the Register button:

developer portal key register confirm

Once you've registered the new key you can either download it or postpone that download for a later time. Please note that once you've downloaded it, you cannot do it again:

developer portal key download

If you chose to download it, you will have now a .p8 file ready to be uploaded in Notificare. This will allow us to send notifications to your application. This step is covered in the guides located here.

Once you have uploaded the certificate you are ready to proceed to implement our library. Keep reading our Implementation guides located here.