You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.
When initiating a transfer by scanning a QR code but then closing the camera mode, the camera keeps getting activated for about 20 seconds. This is both indicated by the recording symbol in the browser and the light right next to the camera.
How to reproduce
Open Send flow
Open QR scan view
Close QR scan view
The text was updated successfully, but these errors were encountered:
This can be still reproduced occasionally. Especially after the first time loading the page and allowing the camera permissions.
The camera turns off immediately after the second time using it.
The react-qr-reader library we're using was last updated two years ago. In the code, they do seem to stop the camera stream properly though. Although they don't release the srcObject.
Marking this as major since I think a too long activated camera is kind of sketchy - not create for a security-focused product
tschubotz
added
Major
Needs to be fixed for immediate next public release.
and removed
Minor
Needs to be fixed within the next 1-3 public releases.
labels
Apr 13, 2021
When initiating a transfer by scanning a QR code but then closing the camera mode, the camera keeps getting activated for about 20 seconds. This is both indicated by the recording symbol in the browser and the light right next to the camera.
How to reproduce
The text was updated successfully, but these errors were encountered: