How can we detect whether metamask is installed on the userâs android device or not. I have developed an android application where user authenticates via metamask wallet connect. I want to add a check where the user clicks on connect button and if the metamask wallet is not installed an alert shows saying âPlease install metamask to proceedâ
Moralis.isMetaMaskInstalled()
works for browser but, I couldnât find anything related to android metamask detection.
I donât know how it is possible to do that, on mobile when you use walletconnect, multiple wallets can be used
But, my application is restricted to metamask only. and I want to detect whether the wallet is installed
@cryptokid
What sort of app are you developing? Is it a native app or just a regular site?
You can search up âdetect if app is installed androidâ.
Otherwise just let the user decide which wallet they want to use.
Some quick searches have stated that itâs not possible to do this for security reasons on Android, but a workaround is to try and open the MetaMask app; if it doesnât work then they donât have it installed.
But for users who already have MetaMask, doing this would mean their app will be opened automatically/randomly.
This is for the web brother, wonât work in android and how would I be able to provide the metamask url? @alex
This is solved and this helped me
(https://capacitorjs.com/docs/apis/app-launcher)
This is for angular ionic with capacitor.