Closed PouyaLitkouhi closed 2 years ago
Looks like it's an iOS issue, it will add an extra zero to the start of ean13 barcode types. onBarCodeRead Explanation
@PouyaLitkouhi
how to get real data from type barcode ?
my application has many barcode from any type(EAN_13,...)
when i get barcode from e.data
how handle it?( i mean get real "data" from "type")
What's happening?
Everything works fine, but the scanner output has extra digits at the start and end of the actual barcode if it has less than 13 digits. is there a way to fix it to return just the exact same barcode? for instance if a barcoe is
123456789123
it will be0123456789123
( one extra 0 is added to start ) or if it is12345678912
it will be01234567891239
( one extra 0 to start and one extra 9 to the end of the actual string)