Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vinay340 opened this issue Aug 23, 2019 · 0 comments

Comments

@vinay340
Copy link

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+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant