Firebase Push notifications are silent and the icon is a grey square.

Hi, I implemented Firebase and I send notifications via a backend service (GameSparks), but this doesn’t matter because the same behaviour happens when sending from the Firebase console.

I receive my notifications on Android but the icon is grey and there is no sound, why? How can I show the default app icon and maybe adding a custom sound to it?

Hi Andrea,

You can customize your firebase notification with GameSparks by editing the FCM template json in messages.
For example adding “sound”:“Default” will add the default sound.
For a custom icon use “icon”:“fileName” or custom sound “sound” : “fileName”;
For custom icons or sounds the files need to be stored in your unity project in Assets/res/raw.

If you have any further questions, please don’t hesitate to get in touch with our support team via - https://support.gamesparks.net/support/home

Thanks,
Clare