Skip to content

fix: handle wc: URI parsing failure in Android WebView deeplink handler#10936

Open
FarooqMulla wants to merge 36 commits intoOneKeyHQ:xfrom
FarooqMulla:fix/wc-deeplink-android-webview
Open

fix: handle wc: URI parsing failure in Android WebView deeplink handler#10936
FarooqMulla wants to merge 36 commits intoOneKeyHQ:xfrom
FarooqMulla:fix/wc-deeplink-android-webview

Conversation

@FarooqMulla
Copy link
Copy Markdown

@FarooqMulla FarooqMulla commented Mar 27, 2026

expo-linking fails to parse wc:TOPIC@2?... URIs on Android because the @2 version marker makes it a non-standard URL structure. When query param parsing yields nothing, fall back to using the raw URL directly if it contains the v2 marker (@2?), allowing the WalletConnect pairing to proceed.

Fixes #6804


Open with Devin

expo-linking fails to parse wc:TOPIC@2?... URIs on Android because the
@2 version marker makes it a non-standard URL structure. When query param
parsing yields nothing, fall back to using the raw URL directly if it
contains the v2 marker (@2?), allowing the WalletConnect pairing to proceed.

Fixes OneKeyHQ#6804
@revan-zhang
Copy link
Copy Markdown
Contributor

revan-zhang commented Mar 27, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: OneKey Browser (WebView) doesn't open Wallets list when clicking WalletConnect Modal's Select Wallet button on Android

4 participants