Register your Android Apps on Firebase Register your Android Apps on Firebase

Register your Android Apps on Firebase

Vijay Sharma Vijay Sharma

Important Note: If your Android Mobile Zype app is already live, you must have already completed this step. In that case you can skip the steps in this Article.

 

Step 1: Open your Firebase Project.

Step 2: Click on the Android icon to add an Android app to your project.

1.png

Step 3: Enter your Android App's Package Name. This is unique ID for your app. Please follow this KB article to get your app's bundle IDs/Package names.

2.png

Step 4: Add a nick name for your app. It is recommended to your your App name here. Skip adding the SHA1 Fingerprint. Now click on Register app.

Step 5: In the next step, Download the Google-Services.json file and keep it safe, you will need to add this file to the Apps Creator Dashboard later.

3.png

Step 6: Skip the next step by clicking on "Next".
Step 7: In the last step, click on "Continue to Console" to go back to the Firebase Project.

4.png

Step 8: Click on the Cog Wheel icon, on your Project Dashboard page and open your Project Settings.

5.png

Step 9: Navigate to Cloud Messaging tab in Project Settings.

6.png

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.


7.png

8.png

Once enabled your will find the API Key under Cloud Messaging tab.

9.png

Copy this Server API Key, we will need it in the next step.

Step 10: Login to your Apps Creator Dashboard and navigate to Content >> Channels >> Channel Setup >> Google Play (Android). Click on one time details for Android. Here, paste your Server API Key in the Firebase API Key text box (make sure there are no additional spaces at the front or end of the key). Now, open the Google-Services.json file and copy and paste the content in the Firebase JSON text box. Please remove the existing {} Curley braces from the text box before pasting the json content.

10.png

Congratulations! You have successfully configured your Android apps on Firebase.