ChangoMan / web3modal-example

Example using web3modal and Next.js
web3modal-example.vercel.app
MIT License
104 stars 49 forks source link

Web3Modal works Fine on localhost:4200 but fail connecting to mobile wallet when deployed to online server. #4

Open juventusjude opened 3 years ago

juventusjude commented 3 years ago

I am developing an Dapp on angular . When I connect to metamask using web3modal, it works fine both in development and production. When I connect to trustwallet or mobile metamask(browser) and metamask (mobile) it works fine in development. connecting to trustwallet or metamask (mobile) fails in production( ie deployed to server), On scanning the QR code , it will show a blank space on trustwallet then return to settings, on metamask(mobile) no action is seen after scanning.

Web3Modal walletconnect works when connecting from localhost:4200 in all wallet using QR code Web3Modal walletconnect fails when connecting from an online server --> http://www.dapptest.com

I really don't know What I am doing wrong. I cannot detect why all wallet connections are fine on localhost, but fail on production (online server).

ChangoMan commented 2 years ago

Hmm @juventusjude can you try updating the dependencies and trying again? I know that has fixed it for people in the past.

abdullahmehboob20s commented 11 months ago

I am having same issue