Skip to content

Commit

Permalink
fix: metamask deep link in 0.12.x (#1375)
Browse files Browse the repository at this point in the history
* chore: changeset

* fix: metamask deep link
  • Loading branch information
DanielSinclair committed Jul 6, 2023
1 parent a7299e8 commit e1fd3df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/early-carrots-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rainbow-me/rainbowkit': patch
---

Fixed an issue with MetaMask Mobile's connector that blocked WalletConnect pairings
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export const metaMaskWallet = ({
? uri
: isIOS()
? // currently broken in MetaMask v6.5.0 https://github.com/MetaMask/metamask-mobile/issues/6457
`metamask:///wc?uri=${encodeURIComponent(uri)}`
`metamask://wc?uri=${encodeURIComponent(uri)}`
: `https://metamask.app.link/wc?uri=${encodeURIComponent(uri)}`;
};

Expand Down

0 comments on commit e1fd3df

Please sign in to comment.