Android icon indicating copy to clipboard operation
Android copied to clipboard

7Rewards: PDF417 barcode generation bug

Open TheLastProject opened this issue 4 years ago • 3 comments

Issue by albuic Wednesday Jul 11, 2018 at 00:41 GMT Originally opened as https://github.com/brarcher/loyalty-card-locker/issues/258


The generation of PDF417 seems to be buggy when using line break characters. You can test the difference between the app and another generator like https://barcode.tec-it.com/en/PDF417?data=hello%0Ahere It might be a bug in the zxing library but I did not find anything about it on here: https://github.com/zxing/zxing/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+pdf

Otherwise it might be the difference between linux and windows line break encoding: LF vs CR+LF In that case a checkbox to select the type of line break (per barcode) might be needed.

For information, the 7Eleven stores in the US use this type of barcode for their loyalty cards (named 7Rewards program) and the generated barcode on the 7Eleven card is the same as the one in the URL above.

(Really nice App btw ;-) )

TheLastProject avatar Oct 24 '20 10:10 TheLastProject