Setup Google Firebase for mobile apps

Author: Dana-Maria ROBU
Publishing date: 11/12/2019
Version history: 1.1

Firebase is Google’s mobile platform that helps you develop high-quality apps and grow your business.

Firebase provides a real-time database and backend as a service. The service provides application developers an API that allows application data to be synchronized across clients and stored on Firebase’s cloud.

1. Create a Firebase project

  1. Click on the “Add project” button.
  2. Enter a project name, a place to store the date: Firebase data and Analytics can be in different locations.

This may or may not be important depending on your country's rules and regulations. Please check the requirements.

6. Additionally, check your Analytics sharing options. The first one is required, but you may or may not want to activate the others.

2. Setting up your app in Google Analytics

  1. Once the app is created, you should be able to see it on the list of available projects.

Make sure that the app is enabled for Mobile platforms(Android/iOS).

2. Now that the firebase is set, click on the project and then on the settings icon.

3. Click on Settings icon shown above and you will land on Settings page. Select the General tab in the Settings screen as below.

4. Scroll down to Your apps and select the Android app.

5. Copy the App ID to paste it afterwards in the AppFactory Firebase section.

6. Download the google-services.json file.

7. Paste the firebase App ID in the dedicated field in AppFactory.

8. Upload the google-services.json file by clicking on the Select a file button.

The app id must be exactly same as on Firebase console. The google-services.json file name must be as it is.

In your computer, if the downloads directory already has this file, the new file might download as google-services(1).json, which is an invalid name. Keep the files backup and delete the file from download destination directory and download it newly.

Vouchers
Next Post

Leave a Reply