SSW.Rewards.Mobile
SSW.Rewards.Mobile copied to clipboard
🐛 QR Code Scanner - QR Codes Scan Outside the Framing Box
Hi,
Describe the Bug
The QR code scanner scans any QR code visible in the camera view, regardless of whether it is inside the on‑screen square (framing box). Users expect the app to only scan QR codes when the code is positioned within the square.
To Reproduce
Steps to reproduce the behavior:
- Navigate to Scan QR Code.
- With the scanner open, present a QR code outside the on‑screen square but still within the camera’s field of view.
- Observe that the app successfully scans the QR code even though it is not inside the square.
Expected Behavior
- The scanner should only detect and decode QR codes that are within the visible square (framing box) in the viewport.
- QR codes outside the square should be ignored until they enter the square.
- Provide clear UI feedback (e.g., highlight/animation) when a QR code is detected inside the square and the scan is triggered.
Tasks
- [ ] Investigate
- [ ] Fix
Acceptance Criteria
- [ ] Meets Definition of Done - https://github.com/SSWConsulting/SSW.Rewards.Mobile/blob/main/_docs/Definition-of-Done.md
- [ ] Scanner only decodes QR codes inside the on‑screen square. QR codes outside the square are ignored.
Environment
- Device: iPhone 12 mini
- OS: iOS 26
Screenshots
Thanks!
Figure: YouTube video - Bug - SSW.Rewards.Mobile - QR Code Scanner - QR Codes Scan Outside the Framing Box