Mitul Lakhani
Mitul Lakhani

Reputation: 192

Telegram Mini App: Wallet Connect AppKit Wallet redirection issue on first time click in iphone. Demo app works fine there is loaders

I'm building the Telegram mini app with AppKit and following the React example with Ethers.

When the wallet modal opens, none of the wallets appear ready. In the demo Telegram mini app (available here), a loader is displayed next to the wallet list for 3-5 seconds while the wallets are loading.

Screenshot 2024-11-29 at 2 26 44 AM

However, in my app, no loaders are visible. If users click a wallet before it's ready, the redirection fails. Clicking after 5 seconds works fine. Note: This issue occurs only on the first load.

Note: this issue getting first time only and on Iphone only

Packages I'm Using:

- react app AppKit intialize

  createAppKit(newConfig);
       
  const newConfig: any = {
    adapters: [ethersAdapter],
    networks,
    metadata,
    projectId,
    features: {
      analytics: true,
      email: false,
      onramp: false,
      socials: [],
    },
    // defaultNetwork: mainnetChain,
  };

AppKit Component: <appkit-button />

Upvotes: 0

Views: 232

Answers (0)

Related Questions