Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.7 KB

Conf_firebase.md

File metadata and controls

48 lines (30 loc) · 1.7 KB

Firebase configuration

⚠️ You need to get the server key from your Firebase project and configure Cloud Message API.

Create your project

  • First go to Firebase console, sign in, then click on Add project if your project is not here yet.

alt text

  • Give your project a name, and wait for Firebase to create it.
  • Then, click on the Android icon, and configure your project.

alt text

  • Give the package name setup from your project editor. You can ignore optional fields.
  • You can download the google-services.json file here (you can get it later)
  • Click Next twice and then Continue to the console

Project settings

  • On the left side, click the wheel and select Project settings.

alt text

Get google-services.json file 🔑

  • On the left side, click the wheel and select Project settings.
  • You can download your google-services.json from here.

alt text

Get server key 🔑

  • In order to get the server key, you first need to go to the Cloud Messaging tab.
  • Click the 3 dots on the right side of Cloud Message API (Legacy) (which is disabled by default), and select Manage API in Google Cloud Console.

alt text

  • In the new tab, click Enable.
  • Go back to your previous tab and refresh the page.
  • In Cloud Message tab your should now find a server key under Cloud Message API (Legacy)