Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
4.2.0
-
None
Description
It's my understanding that the file plugin (resolveLocalFileSystemURL) should handle this, however I had to use the file-path plugin (resolveNativePath)
var path = "content://com.android.providers.media.documents/document/image:1051";
window.resolveLocalFileSystemURL(path, function(a){
console.log(a)
})
-> undefined
window.FilePath.resolveNativePath(path, function(localFileUri) {
console.log(localFileUri)
});
-> "file:///storage/emulated/0/DCIM/Camera/IMG_20160625_104045.jpg"