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.
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.
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.
Step 6: Click on Register, to create a new APNs Key.
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.
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.
Step 11: Under project settings, navigate to Cloud Messaging.
Step 12: Scroll Down to Apple App Configuration and select your registered iOS app from the list. Under APNs Authentication Key tab, select Upload.
Step 13: In the pop up form, add your APNs Key ID, Dev Team ID and upload the downloaded p8 file.
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.
Was this article helpful?
Articles in this section
- What Requires an App Resubmission?
- Apple Developer Account Creation & Access
- Apple's App Privacy Questionnaire on App Store Connect
- Apple Developer Agreements & Paid Application Schedules
- Enable Push Notifications for iOS App
- Google Developer Account Creation & Access
- Google License Key
- Create and link your Google Play service account to Apps Creator
- Google Play - Merchant Account Creation
- Create a Keystore for signing Android and Amazon Apps