Open vinay340 opened 5 years ago
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.
sound : 'default
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+
react-native-cli: 2.0.1, react-native: 0.59.10, Android Device : Honor, Version : 8+
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.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+