Skip to content

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

@vinay340

Description

@vinay340

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+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions