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

How to set priority for data message? [Flutter] #654

Open
mateoKutnjak opened this issue Mar 8, 2022 · 0 comments
Open

How to set priority for data message? [Flutter] #654

mateoKutnjak opened this issue Mar 8, 2022 · 0 comments

Comments

@mateoKutnjak
Copy link

mateoKutnjak commented Mar 8, 2022

I need to set priority of the data message to 'high' because terminated Flutter app will ignore it otherwise. I tried fcm_devices.send_message(None, extra=json_message, priority="high"). It works when app is in foreground and in background but not when it is terminated and it has to be because of priority: https://firebase.flutter.dev/docs/messaging/usage#message-types

Edit: I need pure data messages (no notifications)

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

No branches or pull requests

3 participants