This Article Is For:
-
SoCast Native Apple iOS Mobile App
-
Clients who have a SoCast Mobile App
-
Clients who have access to their Google Firebase Account
This article will break down how to add Google’s “Firebase” analytics to your SoCast Mobile App.
Create a Firebase Account
-
Click ‘Sign In’ in the top right corner
Create Firebase Project
-
After signing in from the main screen, you need to start a new project. Click the white “Get Started” button to begin.
-
From there, you must provide a name for your project.
Note Before you can add Firebase to your iOS app, you need to create a Firebase project to connect to your iOS app. Please visit Understand Firebase Projects for more information.
-
Next, you will be asked if you would like Google Analytics for this project. If you plan to use Google Analytics, click continue. If you do not want to have analytics tied to this project, toggle off “Enable Google Analytics.”
-
The final step in creating a google Firebase project is registering your email address, picking the country you are registering your application in, and clicking “Create Project.”
Note: A Google Firebase project can contain more than one app, and all apps tied to the project will share the same cloud filestore and cloud storage for Firebase back end. This will allow you to view combined analytics across all Apps .
Register Your App with Firebase
-
Once you have created your Firebase project, you can add your app to the project. To add your app from the center console, click on the iOS icon.
-
After clicking on the iOS button icon, you will be brought to a screen asking you for your bundle ID, App Nick Name and App Store ID. Once this information regarding your app is filled out, you will click the register.
-
Now you will want to click download GoogleService-info.list. You will need this to locate your Firebase iOS configuration.
-
After downloading the file, you will be brought to this screen asking you to add a Firebase SDK. Ignore this screen and click next.
-
You will do the same step for the following screen, simply clicking next to bypass this screen.
-
The final step will be returning to your google console and emailing your SoCast On-Boarding Specialist or Account Manager the GoogleService-info.list file you downloaded to be attached to the core root of your app.