MetaMask / MetaMask/metamask-mobile

[Bug]: When a non-EVM network is selected, the selection is not retained after switching to a different account.

Open
#25,089 0 comments 0 reactions 0 assignees View on GitHub
regression-RC-7.62.0 Sev2-normal team-core-extension-ux team-networks type-bug
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

### Describe the bug

When a non-EVM network is selected, the selection is not retained. After switching to a different account, the network selector reverts to the previously selected EVM network instead of preserving the last chosen non-EVM network.

### Expected behavior

The network selector should persist the user’s most recently selected network (including non-EVM networks) when switching between accounts.

### Screenshots/Recordings

https://github.com/user-attachments/assets/d239bacf-9f41-4879-97cb-9a1f6dc853a2

### Steps to reproduce

1. Select a non-EVM network.
2. Switch to a different account.
3. Observe the selected network in the network selector.

### Error messages or log output

```shell

```

### Where was this bug found?

Internal release testing

### Version

7.62.0

### Build number

3512

### Build type

None

### Device

iPhone 15, Samsung S24+

### Operating system

Android, iOS

### Additional context

_No response_

### Severity

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue on the listed iOS and Android devices using the three reported steps, then trace the account-switch and network-selector entry points in the TypeScript React Native app. Done means the most recently selected non-EVM network remains selected after switching accounts, with the behavior checked on both mobile platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, ios, react-native, typescript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.