Open tsadovska opened 1 month ago
@tsadovska I wasn't able to reproduce this. My MetaMask wallet on mobile device is not asking to switch network to Avalanche. Can you please double-check?
@emreboga Rechecked the issue on Oct 16. Unexpected notification to switch network to Ethereum is shown on mobile when user starts transfer from BSC network.
Preconditions: "BNB Smart Chain" is not added to the list of Networks in MetaMask app.
Steps:
Actual result: Notification to change network to Ethereum is shown.
Checked with iPhone 11 Pro iOS 17.6.1 and MetaMask v7.31.1 (1449), and macOS Sonoma 14.5 and Google Chrome Version 129.0.6668.100 (Official Build) (arm64).
https://github.com/user-attachments/assets/c17ac14f-6071-46e3-be8a-cb3c5ad352c5
Reproduced on Netlify with following scenario:
Actual result: Notification to switch network to BNB is displayed.
https://github.com/user-attachments/assets/a2a53d09-96cc-451b-ae28-368d719046d8
Describe the current behavior in detail
Checked on https://wormhole-connect-mainnet.netlify.app/.
Devices:
Steps:
Actual result: Notification to switch network to Avalanche is shown. Expected result: Notification to switch network is not shown, because correct chain is already selected in MetaMask mobile app.
Notes/ Attachments
Issue is reproducible only when wallets are automatically connected in Steps 5 and 6. When user needs to scan a QR Code in Step 5, notification to switch network is not displayed.
https://github.com/user-attachments/assets/50e0e78a-cd12-4bde-985a-f390a54d7a2d