Setting Up Firebase Application for Firebase Cloud Messaging

Most often, mobile applications already have FCM settings. In this case, you do not need to make any additional FCM settings.

Follow the guide below if your application does not have FCM settings.

  1. Verify that your Gradle files include the correct FCM and Reteno libraries.
  2. Download your google-services.json config file (see how here).
  3. Add the above file to your root app/ folder.
Android Studio project view with google-services.json file shown inside the app folder.
  1. Copy your FCM Server Key. In the Firebase console, click the gear icon next to Overview
Firebase console Project settings page with arrows pointing to the settings gear icon, the Cloud Messaging tab, and the Manage Service Accounts link.
  1. Click Project SettingsCloud MessagingManage Service Accounts.
Google Cloud IAM & Admin Service accounts page with an arrow pointing to the firebase-adminsdk service account.
  1. Go to Service accounts to download FirebaseAdminSdk account's json key.
Google Cloud service account Keys tab with the Add Key dropdown open and an arrow pointing to Create new key.
  1. Follow this manual to set up Yespo admin panel with your Firebase key.