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?

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?