Using cordova plugin for barcode

Hi,

I would like to use the “cordova-plugin-honeywell-barcode-scanner” plugin in the application for Honeywell EDA50 android device to capture the scanned barcode information, but I have no idea how to include this plugin into the project and how to use the command to capture the data and show it on screen.

1 Like

Looks like the JavaScript code for this is in their docs:

cordova.plugins.honeywell.barcode.onBarcodeScanned(result => {
    console.log("data", result.data); // actual barcode data
    console.log("code", result.code);
    console.log("charset", result.charset);
    console.log("aim-id", result.aimId);
    console.log("timestamp", result.timestamp);
}, error => {
    console.error(error);
})

Or are you working in BASIC?

1 Like

Hi,

Yes, I am using BASIC.

1 Like

What is the Meaning cordova

Cordova/PhoneGap lets you build standalone native apps for iOS and Android.

It also has a long list of libraries which add additional features to your app.