Open siavkuong opened 2 years ago
running into a similar issue, can confirm it doesn't work for Rainbow or Trust Wallet either
Linking the issue related to this on the MetaMask repo https://github.com/MetaMask/metamask-mobile/issues/3874
you need encode connectionUrl
yourself
let deepLinkUrl = "https://metamask.app.link/wc?uri=\(connectionUrl.addingPercentEncoding(withAllowedCharacters: .alphanumerics)!)"
Before
wc:C8FBB1B6-67CD-4BE0-8E51-C3FB95495628@1?bridge=https%3A%2F%2Fbridge.walletconnect.org&key=999e80c89b9ee3990108f4ccc239600d599e373db25a520c053a734d5e10280b
After
wc%3AC8FBB1B6%2D67CD%2D4BE0%2D8E51%2DC3FB95495628%401%3Fbridge%3Dhttps%253A%252F%252Fbridge%2Ewalletconnect%2Eorg%26key%3D999e80c89b9ee3990108f4ccc239600d599e373db25a520c053a734d5e10280b
Hey guys, I'm trying to use the example as a basis and use universal link to call Metamask. using let deepLinkUrl = "https://metamask.app.link/wc?uri=\(connectionUrl)"
will launch metamask but the connect popup won't appear. Any hint on how to make it appear?
Thanks