How to create FCM project (Android App)?

shape
shape
shape
shape
shape
shape
shape
shape
This guide will show you how to create FCM (Firebase Cloud Messages) project and generate Google json file for Android app.

  • Enter your “Project name”, click “I accept” checkbox and press “Create project”

  • Press “Continue”

  • Click Android icon

  • Enter you “Android package name” and press “Register app”

  • Press “Download google-services.json” and copy file to “app” folder in you project (see screenshot), press “Next”

  • Firebase SDK is already added to the project, just press “Next”
  • Step “Run your app to verify installation”: press “Skip this step” link
  • Press “Gear icon” and select “Project settings”

  • Select the Cloud Messaging tab.
  • Under “Cloud Messaging API (Legacy)” click on the options (three dots on the right) and click “Manage API in Google Cloud Console”. OneSignal will soon add support for the latest Firebase Cloud Messaging API (V1), but for now, the Cloud Messaging API works perfectly.

  • This will open a new page, under Cloud Messaging press “Enable”.

  • Refresh the page on your Firebase Console and copy your Server key and Sender ID.