Creating Firebase project for android App

Follow this article to create a Firebase project and generate the necessary files for building Android in the Learnyst Admin portal.

Follow the below Steps to create a Firebase project and generate the necessary files for building Android in the Learnyst Admin portal.

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: Access your school admin portal.

  • Go to your school admin portal.

Screenshot 2024-07-12 at 3.02.29 PM

Step 15: Navigate to the "Mobile Apps" section.

  • Under "Websites & Apps," select "Mobile Apps."


Screenshot 2024-07-12 at 3.04.53 PM

Step 16: Initiate the app build process.

  • Click on "Build App."

Screenshot 2024-07-12 at 3.42.45 PM

Step 17: Proceed without changes.

  • Do not make any changes and click "Next."



Screenshot 2024-07-12 at 3.44.58 PM

Step 18: 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

Step 19: Continue without changes.

  • Again, do not make any changes and click "Next."

Screenshot 2024-07-12 at 3.54.51 PM

Step 20: Submit the build.

  • Click on "Submit build."


Screenshot 2024-07-12 at 3.56.10 PM

Step 21: Wait for the app to build.

  • The build process takes around 30 minutes.
  • After the app is built, download the AAB file and follow the article to release the app on the Google Play Console: App Release Article.

This process ensures your app is updated to use the new Firebase Cloud Messaging API (V1) for push notifications.