Skip to content

Split the query string off a native route URI before resolving it - #401

Open
simonhamp wants to merge 1 commit into
mainfrom
fix/deep-link-query-params
Open

Split the query string off a native route URI before resolving it#401
simonhamp wants to merge 1 commit into
mainfrom
fix/deep-link-query-params

Conversation

@simonhamp

Copy link
Copy Markdown
Member

NativeRouter::resolve() matched the whole URI against patterns registered as paths, so a deep link with a query string could not find its screen. The parsed query now reaches the screen as $this->data().

Fixes #290.

NativeRouter::resolve() matched the whole URI against patterns registered
as paths, so a deep link carrying a query string could not find its screen.
The parsed query now rides back on the resolution and callers merge it into
the component's navigation data, reaching the screen as $this->data().

Fixes #290.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011YQ2eoCskiHcorgsqaZ7zf
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

Successfully merging this pull request may close these issues.

Warm deep links with query parameters are not resolved or passed to NativeComponent data

1 participant