Skip to content
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

how i can navigate to any screen if my app is in the terminated state? #1104

Closed
21prnv opened this issue May 20, 2024 · 1 comment
Closed

Comments

@21prnv
Copy link

21prnv commented May 20, 2024

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
Copy link
Contributor

You can use this implementation and replace the dynamic link package with whatever you're using for your deep linking.

In short:

  1. Read the link in the startup viewmodel
  2. Call navigationService.replaceWith and navigate to the route you read from your deepLink.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants