Closed one1two2 closed 8 months ago
same issue
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?
This issue will be closed in 15 days if no further activity occurs.
Thank you for your contributions.
Same Issue.
Facing the same issue, no support at all. https://github.com/invertase/notifee/issues/1044
Same issue here.
Why is this closed? Issue is happening in android.
Android: For anyone using react native firebase
Android: For anyone using react native firebase
- background: use the messaging().onNotificationOpenedApp()
- close app: use the messaging().getInitialNotification()
- foreground app: use the notifee.onForegroundEvent()
@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