Camera Cordova plugin issue on android

My application uses ionic 1 and cordova-camera-plugin. It is working fine on ios. However on android the first time it asks for camera permission and then app crashes, then when I try again I get the following error:
file:///storage/emulated/0/Android/data/ exposed beyond app through ClipData.Item.getUri()

I appriciate any help.. Please find my code below:

document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
    var cameraOptions = {
            quality: 100,
            targetWidth: 400,
            targetHeight: 400,
            destinationType: Camera.DestinationType.DATA_URL,
            correctOrientation: true
    };, cameraError, cameraOptions);


 function cameraSuccess(imageURI){
     $scope.$apply(function () {
        //some code

 //here is where i am getting the error 
 function cameraError(message)
   //alert('Failed because: ' + message);

Source: New feed
Source Url Camera Cordova plugin issue on android