-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[firebase_messaging] I can't remove incoming Firebase notifications programmatically #766
Comments
The issue at flutter/flutter#19076 has been closed and moved here. Future collaboration on this issue will be done here. |
Any news on this ? I can't find a way to remove FCM notification anywhere... |
Any update here? |
Hey all 👋 As part of our roadmap (#2582) we've just shipped a complete rework of the If you can, please try out the dev release (see the migration guide for upgrading and for changes) and if you have any feedback then join in the discussion here. Given the scope of the rework I'm going to go ahead and close this issue in favour of trying out the latest plugin in combination with a local notifications package to dismiss notifications. Thanks everyone. |
I have an incoming Firebase notification coming to my phone and if the user does not tap on it and the user re-opens the app, I want the Android notification to be removed programmatically by tag received from the notification payload.
I have used the Firebase_messaging "^1.0.3" Flutter plugin and the MessageHandler for incoming message works.
Inspecting Firebase Notification from StatusBarNotification I noticed the id_notification is always 0 while the tag is the one sent.
To remove the notification from StatusBar programmatically I have used a platform channel:
but the notification can't be removed.
The text was updated successfully, but these errors were encountered: