Skip to content

[Bug]: Switching to a new network on metamask mobile app does not prompt "Add Network" like it does on desktop #1234

@dweng0

Description

@dweng0

Current Behavior

On Desktop

  1. Go to blocknative react demo
  2. Connect your meta mask wallet
  3. Connect to a network from the list that you do not currently have added. You will be prompted to add the network

On Mobile (Metamask App)

  1. Go to blocknative react demo
  2. Connect your meta mask wallet
  3. Connect to a network from the list that you do not currently have added. Nothing will happen.
    The following error shows in the console:
    Screenshot_20220826-093114

Expected Behavior

On Mobile Metamask App

  1. Go to blocknative react demo
  2. Connect your meta mask wallet
  3. Connect to a network from the list that you do not currently have added.
  4. Attempt to switch to that network.
  5. If the unrecognised chain error occurs:
  6. Attempt to Add that network instead

Steps To Reproduce

  1. On metamask mobile browser
  2. Go to block native react demo
  3. try to change to a network that you have not added

What package is effected by this issue?

@web3-onboard/core

Is this a build or a runtime issue?

Runtime

Package Version

latest

Node Version

latest supported

What browsers are you seeing the problem on?

Chrome

Relevant log output

MetaMask - RPC Error: Unrecognized chain ID "..."

Anything else?

No response

Sanity Check

  • If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions