I created a site using web3.ys with some features, without react and node. How can I make it so that when entering from a mobile device and when clicking on the button, the user is transferred to the mobile metamask and immediately opens the browser with my site?
Mobile Metamask Browser – How to Add a Redirect
metamaskweb3js
Best Answer
Here is what I use:
This is described in the MetaMask Docs. I'm using this together with web3-react, however you only need the
connectMetaMaskMobile
part. Check this out if you want more info on detecting mobile browsers.