Closed jamieyello closed 1 year ago
try
<BarcodeReader ScanResult='((e) => { BarCode=BarCode + "," + e; })'
ShowScanBarcode="ShowScanBarcode"
Close="(()=>ShowScanBarcode=!ShowScanBarcode)"
ScanBtnTitle="Scan"
ResetBtnTitle="Reset"
CloseBtnTitle="Close"
AutoStop="false"
SelectDeviceBtnTitle="Select Device" />
ShowScanBarcode is a switch for show UI
ScanResult='((e) => { BarCode=BarCode + "," + e; ShowScanBarcode = !ShowScanBarcode; })'
v0.2.5
Decodeonce="false"
<BarcodeReader ScanResult="ScanResult"
ShowScanBarcode="ShowScanBarcode"
Close="(()=>ShowScanBarcode=!ShowScanBarcode)"
ScanBtnTitle="Scan"
ResetBtnTitle="Reset"
CloseBtnTitle="Close"
Decodeonce="false"
SelectDeviceBtnTitle="Select Device" />
Cool 😎
In my application I need to scan multiple QR codes, so it would be good to have it just scan continuously and trigger the EventCallback many times if needed.
I have found a workaround, which is to immediately reset the form on reading a QR code, it does "work", but it's not really usable since it flickers.![htttrhytrhtrjjj](https://user-images.githubusercontent.com/10054829/176787663-d36d9637-56cc-4706-8bea-b02736de6605.gif)
I have taken a look at the source code and unfortunately do not know enough about zxing to fork it and implement it myself, though if someone pointed me in the right direction I might be able to.