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 panel with google-services.json highlighted in 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 the gear icon, Cloud Messaging tab, and Manage Service Accounts link marked with arrows
  1. Then open Project Settings → Cloud Messaging → Manage Service Accounts.
Google Cloud IAM & Admin Service Accounts page with an arrow pointing to a Firebase Admin SDK service account
  1. Go to Service Accounts to download FirebaseAdminSdk account's json key.
Firebase Admin SDK service account Keys tab with the Add Key menu open showing Create new key and Upload existing key
  1. Follow this manual to set up Reteno admin panel with your Firebase key.