Hi,
I’m experiencing an issue with ZXing.Net.Maui when scanning 26-character Code-128 (One Dimensional) barcodes.
We need to support both Code-128 and QR codes, but the One Dimensional barcodes with 26 characters are either not detected at all or decoded incorrectly.
QR codes work without any issues.
Example 26-character barcodes that fail to scan:
K7020100030031.82402310001
H7020100060116.72526790862
K7044111250134.22309360001
Scanner configuration:
barcodeView.Options = new BarcodeReaderOptions
{
Formats = BarcodeFormats.All,
AutoRotate = true,
Multiple = true,
};
Expected behavior
26-character Code-128 barcodes should be detected and decoded accurately.
Actual behavior
Some barcodes are not recognized at all
Others are recognized incorrectly (wrong or incomplete result)
Environment
ZXing.Net.Maui.Controls version: 0.6.0
.NET MAUI version: 9
Android API level: 35
iOS version: 26