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

[bug] The MetaMask wallet does not appear on mobile devices when using a custom network. #3178

Open
tom2drum opened this issue Oct 31, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@tom2drum
Copy link

tom2drum commented Oct 31, 2024

Link to minimal reproducible example

https://tcthc3-5173.csb.app/

Summary

I am migrating from @web3modal to @reown packages and have noticed a difference in behavior. When I specify a custom network in the config (e.g., optimism) and open the modal on a mobile device (I use an iPhone with the Chrome browser), the list of available wallets does not include the MetaMask wallet. However, if I use the default network (mainnet), it appears. Overall, the "All wallets" list is much shorter for custom networks compared to the default one.

Screenshots

IMG_1732
IMG_1733

Codesandbox link
Preview link

List of related npm package versions

"dependencies": {
  "@reown/appkit-adapter-wagmi": "1.2.0",
  "@reown/appkit-common": "1.2.0",
  "@reown/appkit": "1.2.0",
  "@tanstack/react-query": "5.59.16",
  "react": "^18.2.0",
  "react-dom": "^18.2.0",
  "viem": "2.21.37",
  "wagmi": "2.12.25"
}
@betranthanh
Copy link

You can use the featuredWalletIds option to add the id of the Metamask Wallet like this: featuredWalletIds: ['c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96']
Document: https://docs.reown.com/appkit/react/core/options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants