Mastersam07 / Mastersam07/kaisel

Question: How to Guard to shell route?

Open
#87 2 comments 0 reactions 1 assignee View on GitHub

@Mastersam07 is already working on this.

Since Aug 29, 2026.

question
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?

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.