BarcodeSampleApp

BarcodeSampleApp (ODC)

Supported
Stable version 1.0.5 (Compatible with ODC)
Uploaded on 23 Jul (2 weeks ago) by OutSystems
BarcodeSampleApp

BarcodeSampleApp (ODC)

Documentation
1.0.5

In the Home screen of the application, you can already see the UI block from the Barcode Plugin, the "Scan a code" button.

In the Settings screen, you can easily see how you could define the settings for the Barcode Scanner. 

The allowed setting parameters are:

  • Instructions: Defines if a customized text is to be displayed on the scanning screen
  • Camera Direction: Defines if the back or frontal camera will be used to scan
  • Scan Orientation: Defines if the scanner will be shown in Portrait, Landscape, and Adaptive orientation
  • Scan Button: Defines if a scan button will be shown on the scanning screen instead of automatically scanning for barcodes
  • Scan Line: Defines if an animated scan line will be shown on the scanning screen

After choosing the desired settings, back to the Home Screen, by clicking on the "Scan a code" button, a Barcode Scanner with the given settings will be initialized. 

These settings are passed through the UI block and the result will be sent through an event. On Service Studio, clicking on this UI block will show how this is done:

Check out Barcode Plugin in the product documentation to learn more about the plugin and the sample app.