MetaMask / MetaMask/metamask-mobile

Browser doesn't reset upon creation of new wallet

Open
#1,660 4 comments 0 reactions 0 assignees View on GitHub
Priority - Medium team-mobile-platform type-enhancement
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

**Describe the bug**

When creating a new wallet, browser keeps the same information (favorites + connected dapps)

**Screenshots**

Seen here = https://recordit.co/xiyrAZjtq5

**To Reproduce**

1. Go to browser
2. Select a dapp and connect
3. Save as favorite
4. Logout and create a new wallet
5. Go back to browser and notice your browser is still in the same state

**Expected behavior**

Browser should be reset
[update]: close all open tabs + ensure all previously connected sites are disconnected

**Smartphone (please complete the following information):**
- Device: All
- OS: All
- Version All

-------------------------------------------------------------
_to be added after bug submission by internal support / PM_
**Severity**

- How critical is the impact of this bug on a user?
- Add stats if available on % of customers impacted
- Is this visible to all users?
- Is this tech debt?

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named in the issue. First reproduce the flow by connecting to a dapp, favoriting it, logging out, and creating a new wallet; done means the browser has no open tabs, favorites, or previously connected sites afterward.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.