Camera Automatically Turns On When Clicking โReceiveโ in DID Wallet
๐ฑ App: DID Wallet ๐ Feature: Receive Tokens / QR Scanner ๐ Environment: Mobile App (Latest Version) ๐ Related: Privacy / Camera Permissions / UX Behavior
๐งพ Summary: When the user taps the โReceiveโ button inside the DID Wallet app, the camera automatically activates, even though the user is only trying to display their receiving address or QR code โ not scan one. This can cause privacy concerns and unexpected behavior.
๐งช Steps to Reproduce:
- Open the DID Wallet app.
- Tap on โReceiveโ (to get your wallet address or QR code).
- Observe that the camera automatically turns on without user confirmation.
๐ฅ Actual Result:
- Camera is activated automatically when โReceiveโ is clicked.
- The app requests or uses camera access unexpectedly.
โ Expected Result:
- The โReceiveโ function should only display the wallet QR code and not activate the camera automatically.
- The camera should only turn on when explicitly selecting โScan QRโ or similar options.
โ๏ธ Possible Cause:
- Mislinked function โ โReceiveโ button triggers the QR Scanner activity instead of QR Display.
- Incorrect component routing between โSendโ and โReceiveโ modules.
๐งฑ Severity: ๐ Major (Privacy/UX Issue) ๐ฏ Priority: High ๐ Category: Functional / Privacy / User Experience
๐ก Suggested Fix:
- Separate โReceiveโ and โScanโ functionalities.
- Ensure camera permissions are only requested when scanning, not receiving.
- Add user confirmation prompt before activating the camera.
- Test across Android and iOS for consistent behavior.