Barcode Scanner Plugin
(Android, iOS, Windows 8.1, and Windows 10) Enables Hybrid SDK (Kapsel) applications to scan and decode a barcode using the device camera.
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. The iOS version of the Barcode Scanner plugin uses the AVFoundation framework of Apple’s iOS SDK.
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.