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
{{ message }}
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
@liuzhen2008 when you receive a notification when the app is running the value of data.additionalData.foreground is set to true. When the app is in the background and the user clicks on the notification shade then the value is false when the notification call back is invoked.
I want to navigate to a specific page when user taps a notification to open the app.
But i don't want to trigger the navigation when user has the app running in foreground.
It seems that the notification callback is fired even when the app is in foreground.. So how do i differentiate between the two situations?
The text was updated successfully, but these errors were encountered: