WalletConnect/WalletConnectUnity

Nothing happened After clicking and redirecting MetaMask

Opened this issue · 7 comments

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

  • OS: [iOS 16.1]
  • Unity version [2021.3.29f1c1]
  • Package name and version [latest]

Wallets used for testing
Metamask iOS

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

Hey @defchen,

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

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

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.

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

Are you referencing to the version of Web3Modal?

@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)

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, 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