APNs (Apple Push Notification services)

Prerequisites for Integration with Fyno

Before proceeding, please make sure you have the following:

  • A Mac computer with the latest version of Xcode installed
  • An Apple Developer account (Individual or Organisation)
  • A registered iOS device for testing

Setting up an Apple Developer Account

1Go to the Apple Developer website.
2Click “Account” in the top right corner.
3Sign in with your Apple ID, or create a new one if necessary.
4Enrol in the Apple Developer Program by following the on-screen instructions. Note that there is an annual membership fee.
5Once enrolled, sign in to your Apple Developer account.

Generating a Private Key, Team ID, and Key ID

1Sign in to your Apple Developer account.
2In the left-hand menu, select “Certificates, Identifiers & Profiles.”
3Under “Keys,” click the ”+” button to create a new key.
4Enter a descriptive name for the key, enable “Apple Push Notifications service (APNs),” and click “Continue.”
5Review the details, click “Register,” and then click “Download” to save the private key (.p8 file) to your computer. Important: This is the only time you can download this key, so store it in a safe place.
6Note your Team ID and Key ID from the respective columns in the “Keys” section.

Configuring Application with Fyno

1Sign up for a Fyno account or sign in if you already have one.
2Navigate to the Integration page and under Push select “APNs”.
3Give a custom integration name of your choice.
4Selection between Production/Development Environment as per your current application state.
5Copy/paste the downloaded private key (.p8 file) from the previous section.
6Enter your Team ID and Key ID in their respective fields.
7Enter your APP Bundle ID which you can find in xcode. (Open your project with Xcode, select the top project item in the project navigator at the left. Then select TARGETS -> General. Bundle Identifier is found under Identity.)
8Click “Save” to complete the configuration.

Adding Fyno SDK to Your iOS App

Follow the official FYNO documentation to add the Fyno SDK to your iOS app and configure it with your Fyno App ID.