You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, push notifications are not correctly handled if the app is in a quit state on android (and most likely on iOS, too). The app only opens on the last opened page. In theory, this might also be a development issue though.
Steps to Reproduce
Force kill the app
Send a push notification from the CMS
Click the push notificaiton
See the app open on the start screen/city dashboard.
Expected Behavior
Clicking the push notification opens the correct local news item.
Related Issues
Follow up for #3018 which fixed a similar issue on iOS (background app state).
Additional Information
Apparently all messages should now be handled with notifee (see rnfirebase docs):
Note: If you use @notifee/react-native, since v7.0.0, onNotificationOpenedApp and getInitialNotification will no longer trigger as notifee will handle the event.
Probably we need to implement the setBackgroundMessageHandler in the same/similar way to onMessage , see the notifee docs.
Please check if we can get rid of some of the current rnfirebase listeners (backgroundAppStatePushNotificationListener, quitAppStatePushNotificationListener).
The text was updated successfully, but these errors were encountered:
Describe the Bug
At the moment, push notifications are not correctly handled if the app is in a quit state on android (and most likely on iOS, too). The app only opens on the last opened page. In theory, this might also be a development issue though.
Steps to Reproduce
Expected Behavior
Clicking the push notification opens the correct local news item.
Related Issues
Follow up for #3018 which fixed a similar issue on iOS (background app state).
Additional Information
Apparently all messages should now be handled with notifee (see rnfirebase docs):
Probably we need to implement the
setBackgroundMessageHandler
in the same/similar way toonMessage
, see the notifee docs.Please check if we can get rid of some of the current rnfirebase listeners (backgroundAppStatePushNotificationListener, quitAppStatePushNotificationListener).
The text was updated successfully, but these errors were encountered: