MetaMask Icon - always show?

Is it possible for the MetaMask icon to always show in the Plug and Play Web SDK?

Coinbase and Torus wallet icons seem to show regardless of state. The MetaMask icon rendering seems conditional upon the availability of its injected provider.

Privy and Dynamic show MetaMask options regardless and it opens an intent based URL as far as I’m aware. At the very least it opens MetaMask once you click it.

It would be great if I could find a similar option on web3auth.

Hey, welcome onboard. It’s not possible. We do check whether the Metamask is installed or not, and then show it. You can add the Metamask adapter or defaultEVMAdpater. Coinbase and Torus Wallet icon are shown regardless cause they are global wallets. For Coinbase it’ll use the Smart wallet instead.

Thank you for your prompt response. Do you know what function or object it checks for? Alternatively if you could point me to a file where this is done, I would highly appreciate it.

It’s handle internally by the adapter, you can checkout the source code here: web3auth-web/packages/adapters/metamask-adapter/src/metamaskAdapter.ts at master · Web3Auth/web3auth-web · GitHub

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.