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

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

Open
khoidiep-rayyone opened this issue Sep 14, 2022 · 0 comments
Open

Comments

@khoidiep-rayyone
Copy link

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

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