react-native-fcm icon indicating copy to clipboard operation
react-native-fcm copied to clipboard

Notification default sound is not coming when Android app is in foreground/background

Open vinay340 opened this issue 5 years ago • 0 comments

When an app receives a push in foreground/Background default notification sound is missing.

I have tried adding sound : 'default in custom-notification ,still issue exists.

How can I achieve this?

Here is notification payload

{ "to": "token", "content_available": true, "data": { "custom_notification": { "data": "some push recieved", "badge": 10, "color": "blue", "show_in_foreground": true, "sound": "default", "icon": "ic_notif", "channel": "car_status", "title": "title", "body": "You have a message from car1.", "priority": "high", "group": "GROUP" } } }

My projects runs in
react-native-cli: 2.0.1, react-native: 0.59.10, Android Device : Honor, Version : 8+

vinay340 avatar Aug 23 '19 07:08 vinay340