Setting up your backend to support Push Notifications for iOS requires a few steps, most of which are in Apple Developer Member Center and Keychain Access. There are a few configuration steps in Xcode as well, see the Setting Up Xcode for developing Apps with Push Notifications

The process consists of the following steps:

Creating App ID

  1. First we are going to create an App ID for the mobile application which will receive Push Notifications. Login to Apple Developer Member Center. Select the Certificates, IDs & Profiles tab and click the Identifiers section. Use the plus sign "+" button to create a new ID:

developer_center_1.png

  1. When prompted select the platform enter the Description and App ID Prefix. Select Explicit or Wildcard Bundle ID and enter the same Bundle ID which you will be using in the application. Make sure your App ID it is descriptive enough so you recognize it later when you return to the Member Center.

developer_center_2.png

  1. In Capabilities select Push Notifications, click Continue and then Register:

developer_center_3.png

This concludes the App ID creation for the app.

Creating Certificate Request

Push Notifications require a certificate which will be used on a device by the means of a provisioning profile. Also the same certificate (transformed to the Personal Information Exchange - .p12 format) will be used by Tribally to publish Push Notifications. If this makes little sense, do not worry, you will need to perform these steps only ones and then can move on to code and using the APIs.

  1. In order to create a certificate a Certificate Signing Request (CSR) must be issued. To create a CSR, open Keychain Access and select Keychain Access > Certificate Assistant > Request a Certificate from the main menu: