ligi / PassAndroid

Android App to view passes
GNU General Public License v3.0
802 stars 135 forks source link

Impossible to enter binary data for a barcode #368

Open andrewshadura opened 2 years ago

andrewshadura commented 2 years ago

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.

ligi commented 2 years ago

Do you have a stack-trace by any chance?

andrewshadura commented 2 years ago

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

andrewshadura commented 2 years ago

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 commented 2 years ago

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

andrewshadura commented 2 years ago

ZSSK specimen