-
Notifications
You must be signed in to change notification settings - Fork 665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error connecting wallet on Telegram Web App. #1881
Comments
Hello |
i use telegram bot can not open (metamask, trust wallet, coinbase wallet) always failure in telegram bot for android and ios. Can you help me? |
@DmyKov This seems to be an error with how deep linking works in telegram web app. Usually you would want to do this within a browser on your phone like safari, chrome or firefox and then get redirected to the app right after, but this is not the case with telegram web app. Telegram uses embedded iframe which tries to redirect you to the app itself, but crashes and this is something that's out of our control. We've got a pretty similar issue here as well: #1531 What i would suggest doing is creating a web app where you can redirect users to and try to do your internal logic there instead of using telegram web app. Please feel free to raise another issue if you're facing with any other bugs 🙏 |
any news? |
Any news?... |
@meri-maki @zkgggggame Currently RainbowKit doesn't work with Telegram Web App. Please refer to the comment here #1881 (comment) |
I submitted a PR for a similar issue on ConnectKit, @magiziz could this possibly be adopted into RainbowKit as well? |
@skhetcho WalletConnect is planning to add support for twa (i really hope so) |
@meri-maki @magiziz As long as I have the deeplink uris (such as metamask://) there's a isAndroid conditional in my code that would automatically handle the wc uri with the deep link of the target wallet |
@magiziz How does the Tonkeeper wallet work? |
It working on iOS. on Android, metamask stuck at connecting state |
You can also use this piece of code to open an external link from within Telegram, which opens the phone browser <a href="intent://YOUR-LINK#Intent;scheme=https;action=android.intent.action.VIEW;end;');">Open link in external browser</a> |
does any one find soution ?mine also not working |
Is there an existing issue for this?
RainbowKit Version
2.0
wagmi Version
2.5
Current Behavior
Telegram Mobile App - Android
Telegram Mobile App - iOS
Metamask Mobile App
Telegram Bot
When i try to connect Metamask via Telegram bot on Android Telegram App i get error page ( see screenshot) net::ERR_UNKNOWN_URL_SCHEME
Video - https://github.com/rainbow-me/rainbowkit/assets/117279331/86eb76cf-b153-4aee-8030-b08b2129e604
On iOS after click on Metamask icon on RainbowKit modal just do not happening nothing. I done get error page but Wallet do not open. Just nothing hapens.
I found closed issue with the same problem
#1531
And here nichitagutu/web3modal@a05574f some idea how to fix it. It seems that the problem is in the URL that WalletConnect useing to iniciate interaction with Metamask (or other wallet)
Also i tried to open your home page just clicking on the URL in any Telegram chat. URL opens with the browser implemented in Telegram and it work good. The problem is only in TWA Apps (Telegram Web Apps)
Expected Behavior
Success wallet connection
Steps To Reproduce
https://t.me/dk_test_bot_bot
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
https://t.me/dk_test_bot_bot
Anything else?
The text was updated successfully, but these errors were encountered: