Description
Describe the bug
When there are more than one networks, the connection approves all of them . Then when trying to sign a tx, if the network has been switched to a new one, for the first time, then metamask will open via the deeplink, it will show that its connected to the new network then show the tx to sign.
If we reject this tx and switch networks to something that metamask has already opened and confirmed, then the switching does not deeplink to metamask but the ui still changes. When trying to initiate a tx, metamask open, switches networks and then instantly goes back to the dapp, this doesn't sign the tx and doesn't throw an error, it just doesn't work.
Expected behavior
Metamask should either always deeplink when switching networks on mobile or it should handle the switching better and not kick back to the dapp so quickly.
Screenshots/Recordings
No response
Steps to reproduce
- user connects with one network.
metamask opens and approves all networks - user connects with the second network
metamask opens to confirm new network - user switches back to the first network again
metamask doesn't open as the network has already been confirmed, the ui does update and the new network is active - user tries to signs tx
- deep links to metamask
metamask opens to sign the tx, but switches networks and sends back to the dapp instead of switching then signing - metamask automatically returns to the dapp before the tx can be signed
Error messages or log output
No errors or useful logs
Detection stage
During release testing
Version
7.40.0
Build type
None
Device
Samsung S23
Operating system
Android
Additional context
No response
Severity
This renders my whole dapp useless on mobile as the user cannot actually send and receive transactions on my multi chain dapp
Metadata
Assignees
Labels
Type
Projects
Status
To be fixed
Status
To be fixed
Activity