yuriy-budiyev / code-scanner

Code scanner library for Android, based on ZXing
MIT License
1.09k stars 266 forks source link

Flash blink while set ScanMode.SINGLE #184

Open aivision369 opened 1 year ago

aivision369 commented 1 year ago

I have integrated this library and it working fine. But when I set scanMode.SINGLE then flash is blink once QR code is scanned and if I set scanMode.CONTINUOUS then flash is not blinking but its scan single code multiple time. Is there any way that we can achieve below cases :

Case 1 : Once we ON Flash and set scanMode.SINGLE at that time flash is always ON event after code scanned successful ? Case 2 : If set scanMode.CONTINUOUS then set some interval for delay to scan any QR/Bar code so avoid single code scan multiple time?