WalletConnect / Web3ModalUnity

WalletConnect AppKit: a single Web3 provider solution for all Wallets
Apache License 2.0
14 stars 2 forks source link

[Unity] Doesn't open wallet app on WebApp / WebView (Telegram on mobile phone) #29

Open frostmyr opened 2 months ago

frostmyr commented 2 months ago

Describe the bug I deployed my WebGL game, made with Unity, on Telegram (mobile). But after selecting a wallet, for instance metamask, it doesn't redirect me to the metamask app, instead it shows this error (attached below). I have tested opening the game directly on web browser and it does work (opens the metamask app after selecting the wallet).

To Reproduce Steps to reproduce the behavior:

  1. Usual Web3Modal implementation for Unity
  2. Build for WebGL platform
  3. Deploy to Telegram as WebApp

Expected behavior Opens the wallet app after selecting a wallet

Screenshots image

Environment

Is this happening in Unity Editor or on a player like Android, iOS, Windows? On mobile telegram only

Wallets used for testing Metamask

Additional context

skibitsky commented 2 months ago

Hello,

Thank you for opening the issue! We are aware of this and working on a solution.