Step 1: Open your Firebase Project.
Step 2: Click on the iOS icon to add an iOS app to your project.
Step 3: Enter your iOS App's Bundle ID. This can be found under Apple Platform Setup form in Apps Creator Dashboard.
Step 4: Add a nick name for your app. It is recommended to your your App name here. Skip adding the App Store ID. Now click on Register app.
Step 5: In the next step, Download the GoogleService-Info.plist file and keep it safe, you will need to add this file to the Apps Creator Dashboard later.
Step 6: Skip the next two steps by clicking on "Next".
Step 7: In the last step, click on "Continue to Console" to go back to the Firebase Project.
Step 8: Click on the Cog Wheel icon, on your Project Dashboard page and open your Project Settings.
Step 9: Navigate to Cloud Messaging tab in Project Settings.
You need to grab the Cloud Messaging API key from this page. However, you may find that the Cloud Messaging API (Legacy) is disabled for your account by default. You can enable it by Clicking on the three dots in the right corner and then clicking on "Manage API in Google Cloud Console". This will take you to the Google Cloud Console Dashboard, there you can enable this API.
Once enabled your will find the API Key under Cloud Messaging tab.
Copy this Server API Key, we will need it in the next step.
Step 10: Login to your Apps Creator Dashboard and navigate to Design >> Platforms >> Apple. Scroll down to the Firebase Settings section. Here, upload your GoogleServices-Info.plist file and paste your Server API Key in the text box (make sure there are no additional spaces at the front or end of the key). The Form will Auto Save.
Congratulations! You have successfully configured your iOS app on Firebase.
Was this article helpful?
Articles in this section
- Introduction to GA4
- Enabling GA4 for your Apps
- Create a Firebase Account
- Register your iOS app on Firebase
- Register your Android Apps on Firebase
- Registering your Apple TV, Roku, CTV and Web App on Firebase
- How to Add Custom Definitions in your GA4 Property
- All app data tracked in Google Analytics 4