iOS configuration for rich notifications

How to configure my iOS build for rich push notifications?

To send rich notifications to your app users, you must first configure your app build first. The sections below outline the process of configuring rich push notifications:

Step 1: Set up Firebase

  • Navigate to Google Firebase and create a new project, if you haven’t already created one during the Andoid build configuration process. Refer to the guide to learn how to create a Firebase project.

  • On the Project Overview screen, click on Add app and select iOS.

  • Next, you will be required to enter your Apple bundle ID. Navigate back to your AppMySite app dashboard and copy your Apple bundle ID.

  • Enter the bundle ID, give your app a nick name and enter your App Store ID. Then click on "Register app."

Step 2: Generate APN certificate

  • Log in to your Apple developer account.

  • Click on Certificates, Identifiers & Profiles.

  • Navigate to the Certificate screen. Click on the add(+) button to generate a new Certificate.

  • Select Apple Push Notification services SSL (Sandbox & Production).

  • Next, click on Continue.

  • Select the App ID (Bundle ID) corresponding to your app.

  • Upload a Certificate Signing Request. Follow this guide to generate a CSR file.

  • Download the certificate.

To generate an APNS certificate, you'll need a macOS device, particularly for creating the Certificate Signing Request

Step 3: Generate App Identifier for Rich notification

  • Log in to your Apple developer account.

  • Click on Certificates, Identifiers & Profiles.

  • Select Identifiers from the side bar.

  • Click on + next to the Identifiers.

  • Select App IDs then click on Continue to proceed.

  • Select App & enter a description of the identifier.

  • Copy the Notification Bundle ID from the Build Settings screen from AppMySite.

  • Paste it in the Bundle ID field

  • Select Associated Domains and AutoFill Credential Provider if KeyChain access is enabled in your iOS build.

  • Select Push Notifications & Sign in with Apple under the Register an App ID section.

  • Then, click on Continue to proceed.

  • Register to confirm the app identifier that you’ve created.

  • Your App Identifier has been created.

To enable rich push notifications, a separate app identifier must be created in addition to the one used for build generation.

Step 4: Generate Provisioning Profile

  • Navigate to Profiles > Click on the + icon to create a new Profile

  • Select App Store Connect under the Distribution section and click on Continue

  • Select your App ID (Bundle ID) and click on Continue. Ensure that the Bundle ID you select is the notification bundle ID (app identifier) created in Step 3.

  • Select the Distribution certificate associated with your app Provisioning Profile. If you cannot select an existing distribution certificate, you will need to create a new one.

  • Give your Provisioning Profile a name, click Generate and download this file.

Step 5: Upload for build configuration

  • Navigate to the Notification Build Settings screen.

  • Turn the toggle on for rich notifications

  • Upload the certificates in the relevant fields to configure your build.

  • Click on Save.

Once your build goes live, you can start sending rich push notifications to your app users.

Last updated