Wallet connect not work on telegram mini app #4574
Replies: 8 comments 16 replies
-
Had the same issue: DrKLO/Telegram#1816 |
Beta Was this translation helpful? Give feedback.
-
How about iOS? |
Beta Was this translation helpful? Give feedback.
-
My workaround was just using the metamask sdk. Sorry WalletConnect. Now my telegram miniapp can connect a wallet via the metamask mobile app. https://github.com/MetaMask/metamask-sdk/blob/main/packages/examples/create-react-app/README.md |
Beta Was this translation helpful? Give feedback.
-
For anyone having similar problems, here's a dirty hack: window.open = (function (open) {
return function (url, _, features) {
return open.call(window, url, "_blank", features);
};
})(window.open); Quick reproduction @wcminiappfixbot Source IDK why, but this behavior has something to do with the target attribute, I think it's how webview works on android in general. |
Beta Was this translation helpful? Give feedback.
-
I dont think it is working, ask telegram to fix it. |
Beta Was this translation helpful? Give feedback.
-
facing same issue .can't get the exact information about this how we can set this ? |
Beta Was this translation helpful? Give feedback.
-
I had the same issue but you can use privy.io telegram auth for login within telegram mini app it will create smart account |
Beta Was this translation helpful? Give feedback.
-
Had same issue, but now reown provide best solutions for connect wallet to telegram mini app |
Beta Was this translation helpful? Give feedback.
-
Hello, I am developing a Telegram mini app. It has a function to connect to a wallet. When it runs on a PC, everything works fine, but when it runs on a phone, it cannot connect to MetaMask.
I have tried the sample mini app from your repository at https://github.com/softstack/telegram-mini-app, but it encounters the same issue.
![image](https://private-user-images.githubusercontent.com/22341461/335065656-04b13fb5-9355-4642-aeed-178491fdcba9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NTk4ODUsIm5iZiI6MTczODk1OTU4NSwicGF0aCI6Ii8yMjM0MTQ2MS8zMzUwNjU2NTYtMDRiMTNmYjUtOTM1NS00NjQyLWFlZWQtMTc4NDkxZmRjYmE5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDIwMTk0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE3MGMxNjBkYjM0NzBiMjU2MTI5YmYzYWJhYTEwOWNhMGFjM2NmYmU2YTY2Y2Y3ODE3NjQ5NjQ2ODg1Njk4MjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.kI7cOaTYnPzq4rZMcL-68xlUlnXy4tQM7MvkeXN1jPc)
When run on a phone it just stuck in here like this image.
I try with android phone then it fire the error like this:
![image](https://private-user-images.githubusercontent.com/22341461/335066572-6a7339b7-06ed-4617-b38e-9a157b3649fa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NTk4ODUsIm5iZiI6MTczODk1OTU4NSwicGF0aCI6Ii8yMjM0MTQ2MS8zMzUwNjY1NzItNmE3MzM5YjctMDZlZC00NjE3LWIzOGUtOWExNTdiMzY0OWZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDIwMTk0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdmOTM2NmYxNzQwM2VlYjRjNGY5ODE1MTYzMzViOWZmNzY5M2I1ZGJlZTFlN2EzZWRmNDEwNWEzNTY0ZTk1YWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.wXxwJXI2PNZUsQXiO47PahqK4_CjXhIhmYcVWS-LlFA)
Anyone have same issue?
Beta Was this translation helpful? Give feedback.
All reactions