Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.4.0
-
None
-
None
-
Android 4.4.x, cordova-plugin-camera v 0.2.8, cordova-plugin-file v 1.01
Description
After taking a picture, the imageURI that is returned cannot be handled by window.resolveLocalFileSystemURL.
function movePhoto(imageURI){
console.log("Image URI:"+ imageURI)
window.resolveLocalFileSystemURL(imageURI, resolveOnSuccess, resOnError);
}
console displays:
file:///storage/sdcard/Android/data/com.openht.oht/cache/1395760800560.jpg
resOnError is always called with an encoding error (5).