How to Create the firebase account (project) , google-service.json and Firebase Admin SDK file to build your Android App

Follow the below step, you need to generate two files from your Firebase account. Follow the steps below to do so.

 

Step 1 : Open your Chrome browser.

Step 2: Search for "Firebase" and click the first link.

Screenshot 2024-06-12 at 6.40.44 PM

 

Step 3: Click on " Go to console".

 

Screenshot 2024-06-12 at 6.42.11 PM

 

Step 4: Click on "Create Project."

 

Screenshot 2024-06-12 at 6.45.37 PM

 

Step 5 : 

  • Enter your app name as the project name.
  • Agree to the terms and continue.

 

Screenshot 2024-06-12 at 6.47.15 PM

 

Step 6: Click "Continue" without changing any settings.



Screenshot 2024-06-12 at 6.54.39 PM

 

Step 7 :

  • Select your country.
  • Agree to all terms.
  • Click "Create Project."

 

Screenshot 2024-06-12 at 6.56.34 PM

 

Step 8 : Wait 2-3 minutes for the project to be created.

  • Once completed, click "Continue."



Screenshot 2024-06-12 at 7.01.58 PM

 

Step 9 : You will see the Firebase interface.

  • Click on then Android icon.

    Screenshot 2024-08-30 at 2.58.27 PM

 

Step 10 : Fill the data accordingly.

  • Under Android package name -> Enter the same bundle ID that you used when you began creating the app in the Learnyst admin portal.
  • Under App nick name : Enter your App name.
  • And click on " RegiateraApp"

    Screenshot 2024-08-30 at 3.01.16 PM
  • Click on " Download google-service.json " file. 
    This file will be used for building the app in the Learnyst admin portal.
  • Click "Next".
    Screenshot 2024-08-30 at 3.09.55 PM
  • Scroll down and click again. "Next"

    Screenshot 2024-08-30 at 3.12.20 PM
  • Now click on "Continue to console".

    Screenshot 2024-08-30 at 3.14.14 PM

Step 11 : Locate your app in the project.

  • Identify your app by its bundle ID.

Screenshot 2024-07-12 at 3.24.42 PM

Step 12: Access project settings.

  • Click on the settings option to open the project settings.

Screenshot 2024-07-12 at 3.28.09 PM 

 

Step 13: Generate a new private key.

  • Go to the "Service account" section and click on "Generate new private key" to download the file needed for building the app.

Screenshot 2024-07-12 at 3.34.31 PM

Now you have all the required files to build the app.

 

Step 14: Upload the required files.

  • Under "Service file (.json)," upload the google-services.json file from Step 10.
  • Under "Firebase Admin SDK file (.json)," upload the private key file from Step 13.
  • Click "Next" after uploading both files.


Screenshot 2024-08-30 at 3.21.06 PM

Follow this article from step 19 to advance in the app-building process. 

Article link: https://support.learnyst.com/follow-the-below-steps-to-building-android-in-the-learnyst-admin-portal