Mastersam07 / Mastersam07/kaisel
Question: How to Guard to shell route?
@Mastersam07 is already working on this.
Since Aug 29, 2026.
- Dominant language
- Dart
- Stars
- 69
- Forks
- 2
- Avg merge
- 18m
- Merged PRs (30d)
- 9
Description
I'm trying to get deep links from a cold start working. I believe I ran into the same issue with GoRouter where the deep link comes in, but the intended route gets overridden by the initial route.
With GoRouter I would cache my deep link, then on a redirect check for a cached route and go to that page.
I attempted to do something similar with guards but ran into the issue that I can only return the stack of the current router. If I have to deep link into a shell route, I'm not sure how I would proceed.
This was essentially what I'm trying to do. Is there a better way to achieve this?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.