As a user I don't know which kind of Barcode I'm going to scan.
I would like to have a function which automatically switches to the correct Barcodescanner or at least a notification message which tells the user which Barcode has to be selected in order to get a result.
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.
The new control automatically recognizes the type of code present, so you do not need to know that ahead of time.
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.