Summary
When EAN_13 barcode format is enabled, it still scans UPC_A barcodes and just adds a zero to the beginning of them. In fact, this isn't surprising given that EAN_13 is a superset of UPC_A, and 12-digit UPC_A codes can be converted to an equivalent EAN_13 code by prepending a zero to the code.
tbd: How can we implement UPC_A barcode scanning without just padding the leading '0' and returning an EAN_13?
Links
Summary
When EAN_13 barcode format is enabled, it still scans UPC_A barcodes and just adds a zero to the beginning of them. In fact, this isn't surprising given that EAN_13 is a superset of UPC_A, and 12-digit UPC_A codes can be converted to an equivalent EAN_13 code by prepending a zero to the code.
tbd: How can we implement UPC_A barcode scanning without just padding the leading '0' and returning an EAN_13?Links