MetaMask / MetaMask/metamask-mobile
[Bug]: Ledger: clicking Continue if Eth app is closed displays Something went wrong message
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
### Describe the bug
During a send or swap transaction: if the Eth app is closed and the user clicks Continue on MetaMask, instead of doing any action on the Ledger device, then Something went wrong modal is displayed
### Expected behavior
Clicking Continue to display the same error message Open Eth app instead of Something went wrong (As it happens for error modal Ledger locked, for example)
### Screenshots/Recordings
https://github.com/user-attachments/assets/f62f9104-3881-46f5-b9f8-6b68b89ba043
### Steps to reproduce
1. Add Ledger account
2. Quit the Ethereum App
3. Start Send or Swap
4. Notice modal Open Ethereum
5. Click Continue on MetaMask
6. Notice modal Something went wrong
### Error messages or log output
```shell
```
### Where was this bug found?
Internal release testing
### Version
8.11.0
### Build number
6848
### Build type
None
### Device
Pixel 6 Pro, iPhone 15
### Operating system
Android, iOS
### Additional context
_No response_
### Severity
_No response_
Contributor guide
Research direction
Start by reproducing the Ledger send or swap flow with the Ethereum app closed, then trace the mobile Ledger error handling from the Open Ethereum app modal through the Continue action. Done means the same Open Eth app error is shown instead of Something went wrong on Android and iOS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100