MetaMask / MetaMask/metamask-mobile
[Bug]: QR Scanner Opened event is triggering twice on every open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
**Describe the bug**
QR Scanner Opened event is triggering twice on every open. Happening on both OS's
**Expected behavior**
Should only trigger once on click
**Steps to reproduce**
1. Click Qr Scanner
2. See event fire twice
**Error messages or log output**
```shell
```
**Where was this bug found?**
Internal release testing
**Version**
7.74
**Build number**
4906
**Build type**
None
**Device**
Samsung A32
**Operating system**
Android
[Jira issue](https://consensyssoftware.atlassian.net/browse/MCTP-276)
**Steps to reproduce**
1. Click Qr Scanner
2. See event fire twice
**Error messages or log output**
```shell
```
**Version**
7.74
**Build number**
4906
**Build type**
None
**Operating system**
Android
**Severity**
Sev3
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 QR Scanner flow described in the issue on Android and iOS, then trace the QR Scanner Opened event from the click entry point. Compare the event's trigger paths and verify that one click produces exactly one event, using the reported version 7.74 and build 4906 as the baseline.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100