scan-barcode (legacy docs)
These scan-barcode
docs are out of date
New functionality and features were added to scan-barcode
in version 4.80.0 of the JourneyApps Runtime. Please refer to the latest docs here.
Configuration
Option | Required | Details |
---|---|---|
| required | Variable/attribute in which to store the input value of the field. Must be a variable or attribute of type 'string' or 'int'. |
| optional | Label to show on the component. It can be a Format String to make the text dynamic. |
| optional | Set to |
| optional | Prompt to display on the barcode scanning screen. |
| optional | Comma-separated list of barcode types to try to scan, for example Defaults to:
|
| optional | Comma-separated list of barcode type extensions. |
| optional | Controls whether the component is hidden or shown. The argument specified to
If the component also specifies |
| optional | Opposite of |
| optional | The JavaScript/TypeScript function call to be performed when the barcode is scanned. |
Supported Barcode Formats
Android | iOS | |
---|---|---|
Product barcodes: |
|
|
Other 1D barcodes: |
|
|
2D barcodes: |
|
|
Supported Barcode Type Extensions
Android | iOS |
---|---|
| Not supported on iOS |
Last updated