-
Notifications
You must be signed in to change notification settings - Fork 239
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
[Android] onBackgroundEvent not triggered #978
Comments
same issue |
1 similar comment
same issue |
Same issue here |
We are also facing this issue. Since it is also not possible to use the firebase callbacks because of this issue it is impossible to track if the user opened the app by clicking on a notification at the moment. |
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
Same Issue. |
Facing the same issue, no support at all. |
Same issue here. |
Why is this closed? Issue is happening in android. |
Android: For anyone using react native firebase
|
@truongnv98 the issue is that notifee.onNotificationOpenedApp method does not work. I'm not sure how it could help to solve problem described above. |
seems like firebase received background event, makes notification. but notifee can't catch because origin context is not theirs. so nothing happened when you press the notification. have you tried create notifee's notification onBackgroundHandler function? |
I created notifee, firebase integration. It works very well with exception on trigger onBackgroundEvent. I want to perceive information when user click notification on background. It only opens an application. iOS works well. Maybe I missing something obvious.
Flows:
Receive in foreground -> open in foreground -> trigger onForegroundEvent (GOOD)
Receive in foreground -> open in background -> trigger onBackgroundEvent (GOOD)
Receive in background -> open in background -> trigger nothing, app opened (NOT GOOD)
Receive in background -> open in foreground -> trigger nothing , app opened(NOT GOOD)
packages
"@notifee/react-native": "^7.8.2"
"react-native": "0.72.10"
index.js
Gradle dependencies
The text was updated successfully, but these errors were encountered: