The new Barcode scanner control is out, and we recommend it to anyone who needs to scan a barcode, QR code or data matrix codes on their mobile devices.
A couple of notes:
Old barcode scanner control has been renamed to Web barcode scanner. It is disabled by default and can be enabled in the experimental features settings. We are keeping it around as it is currently the only way to scan barcodes in a web browser.
The ScanBarcode function has been removed from experimental properties. The function will still work for existing apps, but those apps should be updated to use the new Barcode scanner control. It is the same functionality underneath, and it will store the value for you in the control, so it should be easier to use than the function.
i've noticed some inconsistant results when scanning barcodes from a distance (~30cm + away)
i've encoded a text string "101060111111" into a 2D Barcode.
~95% of the time, the ScanBarcode() feature correctly decodes the barcode as "101060111111".
~5% of the time, the ScanBarcode() feature incorectly decodes the barcode, and inserts random characters (eg. "1010zz~1111")
the incorrect decoding occurs when i'm trying to scan barcodes really quickly, or from too great of a distance (~30cm + away).
in well light, close proximity, the ScanBarcode() function works amazingly.
i understand this is not a fault of the ScanBarcode() function, its more likely a result of my phone's camera not focusing quickly enough or not being high enough megapixel or something
===
~~feedback~~
my encoded text string is always going to match a pattern (eg. 10106\d\d\d\d\d\d\d)
if you implement the ScanBarcode() function as a PowerApp Control, could you please implement a Property on the control, which works in a similar way to the IsMatch function?
ie. If i enter a code pattern into the ScanBarcode PowerApp Control, then the control will *only* decode barcodes/qrcodes which match that pattern... and if a code is decoded which doesnt match that pattern, it will be ignored and the barcode scanning screen will remain open until a code which matches the pattern is scanned?
During testing in our warehouse environment, we have found the barcode scanner function appears to scan more reliably in Landscape mode than Portrait mode.
Unfortunetly even if we disable screen rotation in the device settings, the barcode screen continues to rotate automatically.
~~feedback~~
could you please add a way to lock the rotation of the barcode scaner screen?
eg. locked in Landscape mode, Portrait mode, or Auto Rotate with device
This is currently being worked on and will be delivered as part of the new Barcode scanner control which will be supported on iOS and Android and will replace the experimental function.
The new Barcode scanner control is out, and we recommend it to anyone who needs to scan a barcode, QR code or data matrix codes on their mobile devices.
A couple of notes:
Old barcode scanner control has been renamed to Web barcode scanner. It is disabled by default and can be enabled in the experimental features settings. We are keeping it around as it is currently the only way to scan barcodes in a web browser.
The ScanBarcode function has been removed from experimental properties. The function will still work for existing apps, but those apps should be updated to use the new Barcode scanner control. It is the same functionality underneath, and it will store the value for you in the control, so it should be easier to use than the function.
The new Barcode scanner control is out, and we recommend it to anyone who needs to scan a barcode, QR code or data matrix codes on their mobile devices.
A couple of notes: