Sound and Icon in Firebase FCM

In my iOS application, I integrate FCM (Firebase Cloud Messaging). And I can successfully send push notification.

But I did not find any guidance in the FCM document on how to send the β€œsound” and β€œicon”. So does anyone know this or is it not yet supported (this may not be possible)? Please note that right now I'm just sending a notification about the device - to -device, i.e. There is no application server between (I know this is not recommended, but still I want to know the answer)

Edit: Please note that this is not duplicated as indicated. I know how to send a sound and message to a regular Push Notif (i.e. using APNS), but I could not find these keys anywhere in FCM. But since my answer shows a link where I find these keys. Therefore, please do not duplicate this. Thanku

Thank Advance

+6
source share

All Articles