I'm using React Native Microsoft AppCenter
which leverages Firebase Cloud Messaging
for an Android app.
Notification
. I have to open the tray to see the notification. Any help would be greatly appreciated
So I did find the answer in the end. Just in case this is something anybody else trips up on...
You'll need to add the 'sound' key and 'default' value to custom data.
"notification_content": {
"name": "Some Name",
"title": "Some Title",
"body": "Some...body",
"custom_data": { "sound": "default" }
},
"notification_target": {
"type": "devices_target",
"devices": ["Some device ID"]
}