how i can navigate to any screen if my app is in the terminated state?
Closed this issue · 1 comments
21prnv commented
Is your feature request related to a problem? Please describe.
I am building a video calling app. Whenever I receive a call notification and accept the call, I want to navigate to the call screen in my stacked Flutter app. How can I do that?
Describe the solution you would like
i wanted to navigate to the call view when I accept the call, but unfortunately it's navigating to the startup view.
Additional Context
No response
FilledStacks commented
You can use this implementation and replace the dynamic link package with whatever you're using for your deep linking.
In short:
- Read the link in the startup viewmodel
- Call
navigationService.replaceWith
and navigate to the route you read from your deepLink.