web3modal-react-native
web3modal-react-native copied to clipboard
React Native - Bug when select network.
Describe the bug When I first logged into the MetaMask wallet - version 7.19.1 on 10th April 2024, using <W3mButton />, I encountered an issue. After a successful connection, when I attempted to select and change the network, it would open the MetaMask app. Occasionally, it would display a modal to connect with the network, but other times it would not. I need to select by myself to connect network.
SDK Version (if relevant)
- Client: React-Native
- Version 0.73.6
To Reproduce Steps to reproduce the behavior:
- Click on W3Button
- Select Metamask wallet
- Connect to Metamask account.
- Click on W3Button again
- Click on Button to select network
- Select another network
- Waiting to show modal to accept network
- If modal doesn't show need to select password by yourself
- Comeback to App
- Click on outside of bottom sheet.
- Click on W3Button
- Click on Button to select network.
- Select the network you just selected again
- Sometimes it will show {"context": "client"} Request expired. Please try again. Or {"context": "client"} {"code": -32602,"message":"May not specify default MetaMask chain."}
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Video https://github.com/WalletConnect/walletconnect-monorepo/assets/127393321/72f0c1b8-3433-4274-83cd-a3fe57360160
Repository https://github.com/tomheo11233aA/Web3SampleApp.git
Sometimes it shows this, sometimes it does not (in my video, this modal is not displayed).
Hey @tomheo11233aA 👋 Thanks for reporting.
This is a known issue from Metamask, they'll release a new version soon that aims to fix it. Let's wait until then to see if they solved it.
If this is blocking you, i recommend using another wallet in the meantime
hey @tomheo11233aA were you able to retest this with MetaMask latest version?
@tomheo11233aA any news?
Closing for now. Reach again if the issue appears again