Open phstc opened 2 years ago
Experienced a very similar problem @phstc did you maybe find a solution? Also on Chrome on android tablet.
Does the tablet get locked while waiting the 10 min? Because I see a malfunctioning scanner on iOS as well after a screenlock: https://github.com/mebjas/html5-qrcode/issues/515
It might be good if you can check if you can also reproduce it with the https://scanapp.org/
@mrister @denxorz it seems to be specific on Chrome. We changed to Firefox, and it is working as expected now.
I suspect Chrome on Android is doing some power savings.
INteresting, will check it out, thank you very much @phstc !
Same problem, after using the app the scanner starts freezing and you cannot unfreeze it until you remove app data
@phstc Based on your experience, is there a possible factor in the RAM or camera of the mobile device used for the scanner in Chrome?
@owennemo it worked on Firefox on the same device.
@phstc I haven't been able to try it on Firefox because the website used is not secure (not https). So far I have always tried it on Chrome, based on your tests, is there really a power saving condition in chrome after being idle for 10 minutes that causes freezing?
Describe the bug
I'm using html5-qrcode for a check-in app. Users point their QR code and I use the reader to confirm their check-in.
We notice is that, after a few minutes of no use, the camera freezes and only works again if I reload the page. . To Reproduce Steps to reproduce the behavior:
Tablet (please complete the following information):
Additional context
I apologize for the lack of details. I'm trying to get more details from the customer using the app. I will update this issue as soon as I get more details.
Hopefully, this is a known problem with a potential know fix.