My goal:
My mobile app has been working for several weeks with a "fab" button that is able to launch a scanner object. Once a barcode or qrcode is scanned, the scanner automatically closes.
Issue:
Tomorrow, my team met an issue with the fab button, that freeze the app on scanner launch.
I then decided to avoid using the fab to open the scanner, which fixes the "freeze" issue.
However, even though the "single scan" property of my scanner object is checked, the scanner still allows multiple scans in a row.
(same wrong behavior if I uncheck the "single scan" property)
I wish the scanner closed once a barcode is catched.
Additional info: (Cloud version, app version 3.194.0 on Android device)
Is there any means of getting back to the former scanner version, to get a single scan ability ?
We've also noticed some weirdness with the scanner this morning.
With single scan on, the scanner remains open after scanning a barcode.
Calling scanner.clearValue() clears the value until another barcode is scanned, then the original is still in the data array.
So, scan barcode 1. data is now [1]. Call scanner.clearValue(), data is now []. Scan barcode 2. Data is now [1,2]. Call scaner.clearValue(), data is now [], scan barcode 3. Data is now [1,2,3]. You get the idea. Data should go [], [1], [], [2], [], [3] instead of [], [1], [], [1,2], [], [1,2,3]