web3modal icon indicating copy to clipboard operation
web3modal copied to clipboard

Cannot connect on mobile with new alpha web3modal

Open Miktua opened this issue 2 years ago • 4 comments

Hi, have a problem with connecting on android mobile phone through web3modal and wallet connect to metamask, Desctop version works great, walletconnect with QR code also Open modal -> touch metamask icon -> throwing error TypeError: Cannot read properties of undefined (reading: importKey) here are screenshots

photo_2022-10-17_19-17-21 photo_2022-10-17_19-17-22 photo_2022-10-17_19-17-22 (2)

Miktua avatar Oct 17 '22 15:10 Miktua

Could you please add your os / browser details.

xzilja avatar Oct 17 '22 16:10 xzilja

Android 11 MIUI 12.5.3 Chrome 106.0.5249.118

Miktua avatar Oct 17 '22 17:10 Miktua

Found that this problem only appears when running my app at localhost, and debugging it on the phone through wifi. tried to install v1, and got there same problem

Build my app on vercel - and there problem problem is gone. but have a new problem - after pushing wallet icon - wallet app opens, and there is nothing inside, any connection messages

Miktua avatar Oct 17 '22 22:10 Miktua

@Miktua could you link me / give name of the wallet that you are testing against that doesn't show connection message? I personally tested with rainbow / omni / metamask / trust and few others, and everything was working as expected.

xzilja avatar Oct 22 '22 11:10 xzilja

Closing this as stale, however we made a lot of improvements in recent releases, make sure to check them out 👍

xzilja avatar Nov 15 '22 07:11 xzilja