schmuckli-dev/wallet

Barcode from SWISS boarding pass is not stored

Opened this issue · 1 comments

I imported a boarding pass from SWISS but it did not contain any barcode. After some investigation i found out that inside the pkpass JSON pass.json is a barcodes property, but the application is looking for a barcode property.

The barcodes property looks like this:

"barcodes": [{
    "format": "PKBarcodeFormatAztec",
     "message": "XXXX",
     "messageEncoding": "iso-8859-1"
}],

message is a long string of personal information about the flight where each detail is separated by varying amounts of white space.

I also noticed that no translations are loaded, so some important details are missing.

Thank you @TitanNano,
I also have seen that. I will have a look if I can fix it in the next few days.