extjscordovasencha-touch-2.2

How to add Cordova barcodescanner plugin sencha touch2.3


I am initializing cordova in my app which was using touch2.3 and added barcodescanner.js file in app.json and build it successfully using sencha app build native.I loaded .apk file in my android and trying to run,when I hit scanner button it is raising an alert saying cordova/plugin/BarcodeScanner not found.I updated config.xml . How to add custom cordova plugins to new Sencha tocuh2.3?.Please help me on where I was going wrong.Any help would be appreciated.Thank you


Solution

  • Download the repo using GIT or just a ZIP from Github.

    Add the plugin to your project (from the root of your project):

    go to your cordova or phonegap folder run follwing cmd

    cordova plugin add

    then run beloows for check

    cordova plugin ls