[firebase_messaging] FCM for Flutter Web #6591
Unanswered
KrzysztofMamak
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi, I'm adding an ability to receive push notifications in Flutter Web app. I want to receive push notifications everytime, perform some operation (ex. reload data, update UI in dart code) and not to show system notification. Note that everything works as expected when app is in the foreground. I was based on this example: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_messaging/firebase_messaging/example.
I have questions:
Am I able to prevent a browser from automatically showing system notification when app is in the background? If yes how can I achieve this?
Can I perform some operation (ex. reload data, update UI in dart code) after receiving push notification when app is in the background?
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions