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
Log in to the Firebase Console.
Find your Firebase project and select the project name.
Go to Settings > Service Accounts.
Select the appropriate language for your SDK implementation.
Select Generate new private key, then select Generate key to confirm.
Securely store the JSON file containing the key.
2. Enter your credentials in Dotdigital
Log in to Dotdigital.
Expand the User menu in the bottom left and go to Settings > Digital marketing channels.
Under Channel, select Push notification, then select NEW PROFILE.
Select the text box at the top of the screen and enter the name of your app.
Go to the App system: Android section to enter your Firebase credentials.
For Package name, copy and paste your Firebase package name into this field.
To find this in the Firebase console, select the cog icon and go to Project settings.
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.
For Service account key, select CHOOSE FILE and upload your FCM JSON file you obtained in step 1.
Select SAVE.