Skip to content

Question: How to Guard to shell route? #87

Description

@Hackmodford

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions