Manage Barcode
Change your project’s barcode format and edit its values.
Go to Settings, then Barcode.
Select Edit Barcode and make your changes:
Barcode Format — Select a format or No Barcode. See Barcode Types.
Encoded Barcode Value — This is the default barcode value. It applies to passes without a barcode value set through the API or an Adaptive LinkA vendor-agnostic, shortened mobile wallet pass link that supports templates for both Google Wallet and Apple Wallet. When a user taps the link, Airship determines the user’s platform and generates the right pass for that platform.. Leave blank if you do not want to add a default value.
Note - If barcodes should be the same for every pass, set the default barcode value here.
- If barcodes should be dynamic, differing for each pass, you must set barcode values in the header object in the API.
Barcode Text — This is the human-readable text shown below the barcode graphic on the pass. On gift card passes, it serves as the visible card number.
By default, Display the barcode value as the barcode text is enabled, so the barcode value appears as this text. For example, a barcode value of
A1234567appears asA1234567below the barcode. To use a different string, disable the option and enter a value.Note Display the barcode value as the barcode text applies only when the barcode value is set through the
?barcode=query parameter on an Adaptive Link, for example?barcode=A1234567. It has no effect on barcode values set through the API or an Adaptive Linkpayloadobject. To control the barcode text in those cases, setbarcodeAltTexton the pass.Encoding — The default standard is ISO 8859-1. You can enter a different value if your scanning infrastructure supports an alternative.
Select Save.