ChangoMan / web3modal-example

Example using web3modal and Next.js

Home Page:web3modal-example.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mobile Web doesn't work on Metamask/Rainbow link

siddharthsharma94 opened this issue · comments

Hey! thanks for this example package. So I noticed that mobile web doesn't seem to work. For example if I go to https://example.walletconnect.org/ on mobile web and login with Metamask or rainbow it does work but I'm not able to get it work on your site https://web3modal-example.vercel.app.

It's working fine for me! using Rainbow 1.5.25(2).

@siddharthsharma94 Strange, it's working for my Metamask mobile when I scan the QR code. I'm on Android though, not sure if that makes a difference. I just updated some of the dependencies, can you give it another shot?

Huh, looks like it works now! I think maybe one of the underlying dependencies may have been the issue. Thanks so much!

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 example --> 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).

commented

Hey! i have a same type of problem.

Web3modal working perfectly on desktop - opening all provider options and metamask.
Web3modal doesnt working on mobile corretly - dont see metamask.

I testing this: https://web3modal-example.vercel.app

and many different dapps and have same problem. Maybe somebody know why metamask doesnt injecting?