Skip to content
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

[Telegram Webview]: Mobile metamask app doesn't open when connect in telegram mini app #1103

Open
itsminh99 opened this issue Oct 29, 2024 · 0 comments

Comments

@itsminh99
Copy link

SDK

Web

Provide environment information

Telegram Mini App (Webview)

MetaMask SDK Version

Latest

MetaMask Mobile app Version

Latest

What browser are you using? (if relevant)

Telegram IOS latest

How are you deploying your application? (if relevant)

No response

Describe the Bug

The mobile metamask app doesn't trigger open when connecting via code: sdk.connect() in telegram mini app. It hasn't return any responses or errors. However when I open in mobile browser (IOS safari). It's works.

Expected Behavior

The metamask app open to connect wallet.

Link to reproduction - Issues with a link to complete (but minimal) reproduction code will be addressed faster

No response

To Reproduce

Provider:

<MetaMaskProvider>
 sdkOptions={{
          dappMetadata: {...},
          infuraAPIKey: "...",
        }}
>...</MetaMaskProvider>

Connect:

 try {
const accounts = await sdk?.connect();
console.log(accounts);
} catch (err) {
console.error("failed to connect..", err);
} finally {
console.log("Finished");
}
@itsminh99 itsminh99 changed the title [Bug]: Mobile metamask app doesn't open when connect in telegram mini app [Telegram Webview]: Mobile metamask app doesn't open when connect in telegram mini app Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant