[Unity] Doesn't open wallet app on WebApp / WebView (Telegram on mobile phone)
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:
- Usual Web3Modal implementation for Unity
- Build for WebGL platform
- Deploy to Telegram as WebApp
Expected behavior Opens the wallet app after selecting a wallet
Screenshots
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
Hello,
Thank you for opening the issue! We are aware of this and working on a solution.
Fixed in Reown AppKit v1.1.0