cordova-chainway-scanner
v1.1.1
Published
Cordova Chainway Scanner
Downloads
28
Maintainers
Readme
cordovaChainwayScanner
This plugin enable directly scan 1d/2d codes into the cordova application. This plugin has been tested with Chainway c75 https://www.chainway.net/Products/Info/45 Install the plugin Initialize the scanner by:
cordova.plugins.chainScanner.startListening(function(strSuccess) {
//console.log(strSuccess);
}, function(strError) {
alert(strError);
});
the above code initializes the plugin then waits for a scanned code Receive and handle the code by the following code
document.addEventListener('onBarcodeScanned', function(data) {
alert(data.barcode_data);
});
For any assistance contact [email protected] or +254711223639