CodeScanner
CodeScanner copied to clipboard
The torch flashes once briefly before lighting up continuously.
Hello all, first of all thanks for this great code!
I just have a little problem with the isTorchOn Option.
CodeScannerView(codeTypes: [.qr], showViewfinder: true, isTorchOn: true)
For me, the torch flashes once briefly before lighting up continuously. Is this a bug? Is there a way to create a button on the view to turn the torch on or off when scanning the QR code?
thanks a lot!