PassAndroid icon indicating copy to clipboard operation
PassAndroid copied to clipboard

Impossible to enter binary data for a barcode

Open andrewshadura opened this issue 3 years ago • 5 comments

I tried to store a local RailPlus pass in PassAndroid, but it has an Aztec code with binary (non-UTF-8) data, which doesn’t copy properly through the clipboard, resulting in a different Aztec code which wouldn’t scan.

When I tried to create an Espass JSON and manually encode it in a way I hoped I’d make it work, it crashed PassAndroid when I opened it.

andrewshadura avatar Mar 07 '22 07:03 andrewshadura

Do you have a stack-trace by any chance?

ligi avatar Mar 07 '22 07:03 ligi

Not at the moment, but I can try again and see if I have anything.

andrewshadura avatar Mar 07 '22 07:03 andrewshadura

I’m curious what happens if you try az Aztec code from this project: https://github.com/pbock/ticket-parser a DB ticker with an Aztec code I suppose it should be in the same format as our railways (ZSSK).

andrewshadura avatar Mar 07 '22 07:03 andrewshadura

Right, easier said than done, I’m unable to transform this photo to be able to scan from it 😄

andrewshadura avatar Mar 07 '22 07:03 andrewshadura

ZSSK specimen

andrewshadura avatar Mar 07 '22 08:03 andrewshadura