Skip to main content
Update your Android Firebase Cloud Messaging credentials

Ensure your push notification profile is correctly authorised.

Laura Russell avatar
Written by Laura Russell
Updated over 6 months ago

From 20 June 2024, Android are changing the way you need to provide credentials for sending mobile push messages. If you’re currently sending mobile push through Dotdigital, you must update your credentials to re-authenticate your messaging profile.


1. Generate an FCM JSON file

  1. Log in to the Firebase Console.

  2. Find your Firebase project and select the project name.

  3. Go to Settings > Service Accounts.

  4. Select the appropriate language for your SDK implementation.
    ​​

  5. Select Generate new private key, then select Generate key to confirm.

  6. Securely store the JSON file containing the key.


2. Enter your credentials in Dotdigital

  1. Log in to Dotdigital.

  2. Expand the User menu in the bottom left and go to Settings > Digital marketing channels.

  3. Under Channel, select Push notification, then select NEW PROFILE.

  4. Select the text box at the top of the screen and enter the name of your app.

  5. Go to the App system: Android section to enter your Firebase credentials.

  6. For Package name, copy and paste your Firebase package name into this field.

    1. To find this in the Firebase console, select the cog icon and go to Project settings.

    2. In the General tab, copy your package name.

      • If you don't see your package name in the General tab, you need to select Add Firebase to your Android app.

  7. For Service account key, select CHOOSE FILE and upload your FCM JSON file you obtained in step 1.

  8. Select SAVE.

Did this answer your question?