Generate google-services.json

Before you do step change the package name, you must do this step for firebase project configuration

Please note : this step is mandatory to generate google-services.json file

Vist Firebase console: https://console.firebase.google.comarrow-up-right

firebase console

Please register or log in first and then select create new project. In the dialog window enter the name of the project that will be created and the contents of the state and then click the create project to continue.

1) Add a new project

2) Get started by adding firebase to your project. Select the android icon.

3) Then on the dashboard Firebase select Add Firebase to your Android app. In the next dialog window enter the name of the Android application package and SHA1 of fingerprints Certificate (optional).

4) Next will download the configuration file json google-services.json automatically, which will be added in the directory app in the Android project.

5) Finally insert the download json file in your project folder in module (app-level) directory of your app.

6) Rebuild your project

Last updated