notification_open event not triggered properly when flutter app in background mode #17072
Labels
blocked: firebase-sdk
platform: android
Issues / PRs which are specifically for Android.
plugin: messaging
type: bug
Something isn't working
Description
The issue is as follows:
When transitioning the app from the live foreground mode to the background, there are two ways to do so:
Pressing the home button for quick navigation.
Pressing the back button multiple times to exit.
If the app is moved to the background using the home button, when a push notification arrives and I tap on it, the onMessageOpenedApp event is triggered, but the notification_open event is not triggered.
However, if the app is moved to the background by pressing the back button multiple times, when a new notification arrives and I tap on it, the notification_open event is triggered.
This means that the count for notification_open will be updated only in the second case. I tested it only using android. I don't know how about IOS
That is the issue I faced when I did my project.
versions are
Flutter 3.27.3
firebase_core: ^3.10.1
firebase_analytics: ^11.2.0
firebase_messaging: ^15.0.3
Reproducing the issue
No response
Firebase SDK Version
3.6.0
Xcode Version
Installation Method
Swift Package Manager
Firebase Product(s)
Analytics, Messaging
Targeted Platforms
N/A
Relevant Log Output
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippetReplace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippetReplace this line with the contents of your Podfile.lock!
The text was updated successfully, but these errors were encountered: