Setting FLAG_INSISTENT for Backround notification. #4697
Unanswered
tehsunnliu
asked this question in
General
Replies: 2 comments
-
firebase_messaging 8.0.0-dev.14
and in your application |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I wanted to know if there is any way I can set FLAG_INSISTENT for the background notifications? I tried to find however, I want unable to find anything about it.
For foreground messages, I'm using flutter_local_notitications and they have an option called
additionalFlags
where you can set the FLAG_INSISTENT.My goal is to repeat notification sound like a ringer and show a full-screen intent.
Currently, I'm showing a local full-screen notification from a background message and it does the work, however, I get two notifications created in the system tray, one by flutterfire by default and the other by local notification. If there's any way I can disable the default notification provided by the package also will solve my problem.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions