I am working on linking my Dapp with metamask through walletconnect. I am using typescript for this purpose. The issue is that walletconnect is not working on android. On the web platform, the walletconnect shows all the available wallets. When i click on metamask (on web platform), it directs me to the metamask website rather than opening the installed extension on my browser. On the android platform, walletconnect doesnât show any of the wallets available. Moreover, the connect button in walletconnect does nothing; neither it shows an error nor it does anything. I am being stuck on this for quite a while. Any sort of help will be appreciated. Waiting for support from Moralis team.
this is my code:
async login() {
console.log('loginworking');
this.user = Moralis.User.current();
if (!this.user) {
await Moralis.Web3.authenticate({
signingMessage: 'Login via App',
provider: 'walletconnect',
});
await Moralis.Web3.enableWeb3({
provider: 'walletconnect',
});
} //if condition ending here
} //function ending here
I am using Moralis (0.0.184) and walletconnect (1.6.6)