MetaMask / MetaMask/metamask-mobile

Add account change alert in mobile

Open
#13,851 0 comments 0 reactions 0 assignees View on GitHub
INVALID-ISSUE-TEMPLATE team-confirmations Transactions type-enhancement
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

**Describe the bug**

When a transaction is initiated from an account different than the one currently selected in the wallet, users do not receive a warning indicating this discrepancy during the confirmation process. Additionally, on iOS devices, the toast notification typically displayed upon transaction completion is not shown for such transactions.

**Expected behavior**

A warning provided on the Confirmation screen.
The consistent display of completion notifications across all devices.

**Screenshots/Recordings**

Android:

https://github.com/user-attachments/assets/735ec487-7e22-4f52-8397-319e86cb7f2f

iOS:

https://github.com/user-attachments/assets/fd020c63-60e8-4431-95b6-59608be5f9dd

**Steps to reproduce**

1. Connect to a dApp with an account other than the one selected in the wallet
2. Start transaction

**Error messages or log output**

```shell

```

**Detection stage**

In production (default)

**Version**

7.41.0

**Build type**

None

**Device**

Samsung S24 Ultra, iPhone 15

**Operating system**

iOS, Android

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the transaction flow with a dApp account different from the wallet's selected account on both Android and iOS. Inspect the Confirmation screen and transaction completion notification paths. Done means the discrepancy warning appears during confirmation and the completion notification is consistently shown on both platforms.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.