-
Notifications
You must be signed in to change notification settings - Fork 4k
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
🐛 [firebase_messaging] Redirect not working on iOS #3868
Comments
Hi @Thorbenl Does the navigation issue work outside of messaging. For example if you created a button to see if navigation still works as expected? |
Same problem here only on ios. |
@RenanDelfanti Could you provide a minimal example? We need to confirm that navigation is working as expected as i'm not sure why this would be related to messaging |
@dackers86 Yes, navigation works normally in the entire app. |
The only difference between my code and his is that I test a parameter I receive from FCM on my navigation function.
|
On Android we need to add on manifest to work:
On iOS do we need to do something similar to work? |
I found that the message object on android is different from iOS I solved my problem with this code:
|
I would like to redirect to a specific screen on tapping the push notification..
The
_navigateToInbox
looks like this:So i am using the global
navigatorKey
. This works super fine for Android, iOS just opens the app and does nothing :( Not sure if i am missing anything?Here is the payload from
onResume
:Here is the output of
flutter doctor -v
Is this a bug? Or intended? Do I miss something?
The text was updated successfully, but these errors were encountered: