MetaMask / MetaMask/metamask-mobile
Predictions: 'Something went wrong' error when adding funds via QR/HW wallet (OneKey)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
## Description
When attempting to add funds via a QR or hardware wallet in the Predictions feature, a 'Something went wrong' error is returned instead of a graceful unsupported device message. Reproduced using a OneKey hardware wallet on iOS RC build v8.3.0 (6070).
## Steps to Reproduce
1. Add Hardware wallet (OneKey)
2. Import accounts from OneKey device
3. Navigate to Predictions
4. Tap "Add hardware wallet"
5. 'Something went wrong' error appears
## Expected Result
Graceful error handling, as HW wallets are not supported in Predictions. A user-friendly message should indicate that hardware wallets are not supported rather than displaying a generic error.
## Actual Result
A generic 'Something went wrong' error is displayed with no indication that hardware wallets are unsupported in this flow.
**Detection stage**
Release Candidate
**Version**
v8.3.0 (iOS 6070)
**Build type**
RC (Release Candidate)
**Browser**
N/A (iOS app)
**Operating system**
iOS
**Hardware wallet**
OneKey
## Additional context
Issue may also affect QR wallet flows. Not confirmed on software accounts.
## Media
https://github.com/user-attachments/assets/e95c332c-2346-4f72-a85f-d7af116639d6
---
*Filed via Claude bug reporter*
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Predictions “Add hardware wallet” flow on the iOS RC build with a OneKey device, then trace the error from that entry point. Done means unsupported hardware-wallet use shows a user-friendly message instead of “Something went wrong”; check whether the same handling applies to QR wallet flows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100