-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Issue summary
The non-legacy barcodes field is ignored, while the barcode field works.
Expected behaviour
The barcodes field should result in JSON output corresponding to:
https://developer.apple.com/documentation/walletpasses/pass/barcodes
Actual behaviour
When using the barcodes field and setting it to a list of Barcode objects, its content are ignored.
In the code, there are comments regarding barcode being a legacy field and to use barcodes instead, but apparently it is unhandled, see:
| # barcodes have 2 fields, 'barcode' is legacy so limit it to the legacy formats, 'barcodes' supports all |
Steps to reproduce the problem
- Create a pass and set the
barcodesfield to a list of Barcode - Build/sign the pass
- Observe that in the json no barcode output is generated
Checklist
- [ x ] I have searched the issues of this repo and believe that this is not a duplicate.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working