android - Cordova camera plugin: Photo is not displayed when taking a picture -
i'm using cordova camera plugin , have encountered problem. when using : sourcetype: camera.picturesourcetype.photolibrary url: content://media/external/images/media/1517 when using url on <img ng-src="{{image}}" alt="description"/> works great but when removing sourcetype , taking picture phone returned uri this: file:///storage/emulated/0/android/data/com.ionicframework.myapp/cache/1454450218633.jpg and when uri returning image not displayed. ideas? on ionic framework , on android device. some code taking picture: function takephoto() { var defer = $q.defer(); navigator.camera.getpicture(function(imagedata) { defer.resolve(imagedata); }, function(err) { defer.reject(err) }); return defer.promise; } this method being called from: $scope.getimage = function() { cameraservice.takephoto().then(function(imagedata){ console.log(imagedata); $scope.image = imagedata; }).catch(funct...