Skip to content

fix(wallet): use metamask:// scheme for mobile connect deep link#3216

Merged
tienkane merged 1 commit into
mainfrom
fix/metamask-mobile-connect-payload
Jun 30, 2026
Merged

fix(wallet): use metamask:// scheme for mobile connect deep link#3216
tienkane merged 1 commit into
mainfrom
fix/metamask-mobile-connect-payload

Conversation

@tienkane

@tienkane tienkane commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Pass the metamask://connect/mwp deep link to the wallet modal unchanged instead of rewriting it to the metamask.app.link Universal Link. The custom scheme carries the connection payload straight into MetaMask so it opens on the pairing/approval screen; the metamask.app.link (Branch) link drops the query params on the handoff, so the app opened to its home screen with no connection request.
  • Add a platform-specific "Install MetaMask" store link (iOS App Store / Google Play / metamask.io) in the mobile "Open MetaMask" view, for users who don't have the app.

…oval screen

The mobile deep link was rewritten to the metamask.app.link Universal
Link before being handed to the wallet modal. That domain is a Branch
link that drops arbitrary query params on the handoff to the app, so
MetaMask opened to its home screen without the MWP pairing payload and
never showed the connection request.

Pass the metamask:// custom scheme through unchanged: it carries the
payload straight into the app so MetaMask lands on the approval screen,
and tapping a custom-scheme link keeps the dapp page (and its open relay
connection) alive. Add an explicit store link for users without the app
instead of relying on a timer fallback.
@kyber-ci-bot

Copy link
Copy Markdown

Auto Deploy Pull Request

ADPR instance has been created!

Information

@tienkane tienkane changed the title fix(wallet): keep metamask:// scheme so mobile connect opens the approval screen fix(wallet): use metamask:// scheme for mobile connect deep link Jun 30, 2026
@tienkane tienkane merged commit 5e48acb into main Jun 30, 2026
4 checks passed
@tienkane tienkane deleted the fix/metamask-mobile-connect-payload branch June 30, 2026 05:01
@kyber-ci-bot

Copy link
Copy Markdown

Auto Deploy Pull Request

Clean up resources have been completed!

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.

2 participants