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 the Apple Platform Setup form in the Apps Creator Dashboard.
Step 4: Add a nickname for your app. It is recommended to your your App name here. Skip adding the App Store ID. Now click on the 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: Creating a Service Account Key JSON for Push Notification
If you've already created a Push Notification Service Account Key JSON while registering your Android app on Firebase, there's no need to create a new one. Simply skip this step and proceed to Step 9 to upload the JSON file you previously created.
Click on the Cog Wheel icon, on your Project Dashboard page and open your Project Settings.
Navigate to the Cloud Messaging tab in Project Settings.
In the Firebase Cloud Messaging API (V1) section, click on Manage Service Accounts. This will take you directly to the Service Accounts page in the Google Cloud Console.
Locate the service account email with the description ‘Firebase Admin SDK Service Agent’. This is the one you need.
• Under the Actions column, click on the three dots and select Manage Keys.
• Choose ADD KEY, then select Create New Key.
• Ensure the key type is set to JSON, and click CREATE.
• You will receive a prompt confirming that the private key has been saved to your computer. Store this file securely, as it will be required later for the Apps Creator Dashboard.
Step 9: Upload the GoogleService-Info.plist and Service Account Key to the Apps Creator Dashboard
Login to your Apps Creator Dashboard and navigate to Manage >> Platforms >> Apple. Scroll down to Firebase Settings. Ensure that the Newer Firebase Version is enabled.
Here, upload your GoogleServices-Info.plist and Firebase Service Account Key JSON files. You can leave the Firebase API key field unchanged, as it is no longer needed. The Form will be auto-saved.
Congratulations! You have successfully configured your iOS app on Firebase.
Was this article helpful?
Articles in this section
- GA4 Explorations
- Profile ID API Endpoint
- 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