Skip to content

Not showing a notification when the app in quit state - Android #142

Description

@khoidiep-rayyone

Notification from Zendesk
{"data": {"data": "{\"author\":\"Jakub Kraus\",\"message\":\"sdsdsd\",\"type\":\"zd.chat.msg\",\"ts\":1613552261}"}, "from": "341409816227", "messageId": "0:1613552261649404%1596f81ef9fd7ecd", "sentTime": 1613552261633, "ttl": 2419200}

In React Native Firebase document, When an incoming message is "data-only" (contains no notification option), both Android & iOS regard it as low priority and will prevent the application from waking (ignoring the message). To allow data-only messages to trigger the background handler, you must set the "priority" to "high" on Android.

I have config follow the document (https://developer.zendesk.com/documentation/classic-web-widget-sdks/chat-sdk-v2/android/push_notifications/). Am I missing some config?
Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions