QrAndBarcodeScanner icon indicating copy to clipboard operation
QrAndBarcodeScanner copied to clipboard

[Coding Help] Scan with Screen Locked

Open esteves67 opened this issue 3 years ago • 0 comments

Hello!

First, thank you so much for the app!

Anyone have an idea on how to get the scanner working while the screen is locked, my use case is that i don't want the final user to mess with phone settings (so i use the lock screen) while doing the scans (continuous), but for now when i lock the screen the scanner (camera) freezes and doesn't scan, i saw on stackoverflow that the way to go is WAKE LOCK on the onCreate part of the code, but im not sure, i guess i will be trying, but i would like to hear someone's idea on how to achieve it.

Thanks in advance everyone!

esteves67 avatar Jan 04 '22 19:01 esteves67