@Amirtha I believe this is due to the camera wanting the flashlight for its flash functionality. I did find this on SO though: http://stackoverflow.com/questions/31839030/barcodescanner-cordova-with-led-light