We use Firebase Cloud Messaging (FCM) to send push notifications to iOS apps. FCM provides a robust and fast method for push notification delivery.

In order to allow Firebase to send push notifications on your iOS, there is some additional configuration needed on your Firebase Account. Follow the steps below to enable Push Notifications on your iOS app.

Step 1: Make sure to register your iOS app on Firebase. If you haven't done this already, please follow this article to connect your iOS app to your Firebase project.

Step 2: Login to your Apple developer account at developer.apple.com.

Step 3: Navigate to Certificates, Identifiers & Profiles.

Screenshot 2022-07-19 at 7.32.58 PM.png

Step 4: Under Keys, click on the plus icon to add a new key. If this is the first key on your account, you may see a "Create a Key" button instead.

Screenshot 2022-07-19 at 7.35.09 PM.png

Step 5: Provide a key name. (eg. Zype Push Notifications) and select the first checkbox from the list - Apple Push Notifications Service (APNs), and click on Continue.

Screenshot 2022-07-19 at 7.40.12 PM.png

Step 6: Click on Register, to create a new APNs Key.

Screenshot 2022-07-19 at 7.42.00 PM.png

Step 7: In the next step, you will be asked to Download the key file. Download the key file and keep it safe, you will need this file in the next steps and may also require if for other apps on your account.

Important Note: You can only download this file ONCE. Please make sure you download it in a safe place and have access to it.

Also make a note of the Key ID, and the Dev Team ID on this page. We will need this information in the next steps.

Screenshot 2022-07-19 at 7.45.51 PM.png

Step 8: Once you have grabbed all the info in the above step. Click on Done and logout of the Developer Console.

Step 9: Open you Firebase project, where you registered your iOS app.

Step 10: Go into the project settings from the left menu.

Screenshot 2022-07-19 at 7.52.18 PM.png

Step 11: Under project settings, navigate to Cloud Messaging.

Screenshot 2022-07-19 at 7.53.40 PM.png

Step 12: Scroll Down to Apple App Configuration and select your registered iOS app from the list. Under APNs Authentication Key tab, select Upload.

Screenshot 2022-07-19 at 7.54.55 PM.png

Step 13: In the pop up form, add your APNs Key ID, Dev Team ID and upload the downloaded p8 file.

Screenshot 2022-07-19 at 7.57.55 PM.png

Step 14: Click upload. Your APNs key is now added to your Firebase account.


Congratulations! You have successfully configured your iOS app to receive push notifications through FCM.