Thank you for contacting us.
Using the AppBuilder Windows Client
, I was able to clone the BarcodeScanner sample
. Deploying it on Samsung Note 2, also resulted with success as the Scan
button ran the scanner correctly on the device. Note, the BarcodeScanner is an integrated inside AppBuilder plugin
and at this stage its version is 1.1. If for some reason the sample app does not work on your side, you can follow the next steps in order to use the plugin:
- Open an existing AppBuilder project, or create a new one;
- Inside it, open the projects properties. You should find them in the Project Navigator pane.
- Go to Plugins and enable the BarcodeScanner plugin from within the Integrated Plugins tile.
- Then, it should be enough to bind the cordova.plugins.barcodeScanner.scan() function to an event of your choice (e.g., a button click). Something like this:
"We got a barcode\n"
+ result.text +
+ result.format +
"Scanning failed: "
I have also attached my project for your further guidance. I hope it helps.
Please, let me know if I have misunderstood the issue in any way or you need further assistance.
Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!