Web3ModalUnity icon indicating copy to clipboard operation
Web3ModalUnity copied to clipboard

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

Open frostmyr opened this issue 2 years ago • 2 comments

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

  • Android: Android 12 (not sure if this matters)
  • Unity version: 2022.3.20f1
  • Web3Modal Package Version: v0.4.2

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

frostmyr avatar Sep 06 '24 04:09 frostmyr

Hello,

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

skibitsky avatar Sep 06 '24 10:09 skibitsky

Fixed in Reown AppKit v1.1.0

skibitsky avatar Nov 25 '24 10:11 skibitsky