After the captureOutput delegate method is finished executing, the scanner is restarted if stopOnFirst is set to true. This behavior was causing the delegate method to fire again in some scenarios, resulting in the barcodesScanner block being executed twice regardless of the setting.
After the captureOutput delegate method is finished executing, the scanner is restarted if stopOnFirst is set to true. This behavior was causing the delegate method to fire again in some scenarios, resulting in the barcodesScanner block being executed twice regardless of the setting.