Flutter - Handle Notification Navigation For foreground and background clicks #3515
Unanswered
MungaraJay
asked this question in
Q&A
Replies: 1 comment
-
same issue i fatch |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In one of my app want notification handling based on id, wether it is foreground or background. I'm not able to manage it.
What i want is when i receive the notification user should be navigated to the respective screens. even if we are on any of the current screen or app is in background. I also have splash screen in between. So, how can i manage the navigation even if i have somethings to fetch from network api and then navigate to some other screen.
I have added following code for notification handling,
Above code doesn't work for my case. I am not able to get navigated to my desired screen.
Can anyone suggest me a proper way to do so?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions