This plugin enables Hybrid SDK (Kapsel) applications to scan and decode a barcode using the device camera. The plugin is supported for use with applications on the Android and iOS platforms.
This plugin uses a fork of the open source BarcodeScanner plugin. For more information, and a list of supported barcode types, see https://github.com/wildabeast/BarcodeScanner. The Android platform integrates the ZXing (Zebra Crossing) (https://github.com/zxing/zxing/) barcode image processing library.
Include the plugin's scan method in your application code to launch the scanner UI, and upon detection of a barcode it scans the code, and control is passed back to your application, along with the barcode data. On Android, you can include the encode method to encode a supported type of information as a barcode. For a list of supported types, see the open source BarcodeScanner plugin.