ti.barcode
ti.barcode copied to clipboard
Data Matrix unreliable
Whilte scanning of QR code is very fast and solid, the results for Data Matrix scans is unfortunately very unreliable. Some codes work, others not at all, especially with surrounding dark background. Does anyone face the same problem and has a proper solution? Tested with iOS.
I had the same issue but found that if you specify the "acceptedFormats" it works reliably.
Barcode.capture({
animate: true,
showCancel: true,
showRectangle: false,
keepOpen: false,
acceptedFormats: [
Barcode.FORMAT_DATA_MATRIX
]
});
I have the same code with ti.barcode 1.9.1 and Data matrix code does not work...But QR code it's ok
That's why I'm using for DataMatrix this module: https://github.com/mikefogg/SquareCamera
@danny005 Sorry for bringing this up again, but is this still an issue? I noticed you used a different module, but ideally, this one would solve it already. We updated the XZing library a while ago, so this might be improved.