ionic-frameworkngcordovaandroid-6.0.1-marshmallow

The BarcodeScanner plugin in ngCordova doesnt work in Android 6


I'm developing in Ionic Framework.The barcodeScanner plugin(ngCordova) doesn't work for the newest version of Android. I suspect the plugin is not updated for this version. Any of you have found a solution? Thanks.


Solution

  • Samuel Paredes, There is many change in Android 6(M) , the main is runtime permissions, so we need the camera for the barcode scanner , but the plugin is not yet updated for that so we need to On the Camera permisson for the application manuully.

    Setting >> APP manager >> Your App >> Permissions >>Camera >> 
    

    Please enable the camera permission from there. Hope it will help you