Skip to content

Open app in metamask webview directly #2091

Closed Answered by DanielSinclair
scyllacz asked this question in Q&A
Discussion options

You must be logged in to vote

This is not currently possible as we use the standard WalletConnect connector to communicate with MetaMask. However, the user can open the dApp within the MetaMask web browser and connect directly via the injected connector. Although WalletConnect can be unreliable, it's best practice to let the user connect from whichever browser they prefer. In the scenario you are describing, the initial dApp session would be tossed out and restarted in the MetaMask in-app browser. This is okay for some dApps, but problem for others that rely on local state.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by DanielSinclair
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants