WalletConnect / WalletConnectUnity

[DEPRECATED] WalletConnect v2 and Modal for Unity 🎮
MIT License
150 stars 49 forks source link

Nothing happened After clicking and redirecting MetaMask #165

Open defchen opened 8 months ago

defchen commented 8 months ago

Describe the bug It's an issue about MetaMask doesn't work, including no popup Connecting interface or anything else after clicking and redirecting MetaMask app. (iOS 16.1. did not test in Android yet, but there is an another discussion about this problem in Android)

To Reproduce Steps: Use the sample demo to build the app and run on iPhone.

  1. choose MetaMask
  2. Unity app will redirect and launch MetaMask app successfully.
  3. Nothing happened after MetaMask launched, no popup showed, no tips in MetaMask even after several minutes(It should show me the popup to confirm to connect, but not)
  4. If I return the Unity app, the WC waiting for connection UI closes immediately, as if it were shut down. And stayed in network list UI.

Environment

Wallets used for testing Metamask iOS

Additional context Thanks for investigating. Anything If needs, contact me at anytime.

skibitsky commented 8 months ago

Hey @defchen,

Thanks for opening the issue! Does the error persist after changing relay url to relay.walletconnect.org?

defchen commented 8 months ago

This issue still persists after changing relay uri while other wallets are working well

defchen commented 8 months ago

I test the web3modal.com, open it in safari or any other browser on mobile, MetaMask is also broken. I think it's a common problem in v3/v4. But v2 version works well.

skibitsky commented 8 months ago

I think it's a common problem in v3/v4.

Are you referencing to the version of Web3Modal?

skibitsky commented 8 months ago

@defchen, could you check if any of these fields in the WalletConnectProjectConfig scriptable asset are empty?

defchen commented 8 months ago

I think it's a common problem in v3/v4.

Are you referencing to the version of Web3Modal?

I'm referencing to the version of www.web3modal.com, the official online showcase. This web version is also broken with MetaMask. Not only the unity version.

defchen commented 8 months ago

@defchen, could you check if any of these fields in the WalletConnectProjectConfig scriptable asset are empty?

  • Id
  • Name
  • Description
  • Url
  • Icon (at least one item should be present)

Id: not empty 60de9604fdb9bdc7931c.... Name : not empty Description: empty Url: empty Icon: empty