cordova-filechooser icon indicating copy to clipboard operation
cordova-filechooser copied to clipboard

get file:// form content://

Open MateuszKasiuba opened this issue 9 years ago • 4 comments

It is possible to add to cordova-filechooser patch to return real path to file instead content://? thank you.

MateuszKasiuba avatar Jan 31 '16 22:01 MateuszKasiuba

I am having the same issue.

go2hyder avatar Mar 14 '16 22:03 go2hyder

Same question here

filerun avatar Apr 08 '16 10:04 filerun

Solution:

fileChooser.open(function(contentURI) {
            window.FilePath.resolveNativePath(contentURI, function(absolutePath) {
                window.resolveLocalFileSystemURL(absolutePath, function(fileEntry) {

There is a Cordova plugin for "resolveNativePath". Google it.

filerun avatar Apr 21 '16 12:04 filerun

This @filerun this solved this issue for me

dayaki avatar Mar 11 '17 22:03 dayaki