hung-doan / .bookmarks

My life bookmarker
0 stars 0 forks source link

can't read filename & filesize with window.resolveLocalFileSystemURL() #6

Open hung-doan opened 8 years ago

hung-doan commented 8 years ago

Type: Bug Descriptions: N/A Preproduction: If the entry from window.resolveLocalFileSystemURL() return a URL like content://com.android.providers.media.documents/document/image%3A10

It can't read file name and file size.

NOTE: in cordova-plugin-file@4.0.0 the file entry can read file size but file name. It returns {namecontent} instead of actual file name. Reason: N/A Solutions: N/A

Ref: [1] Get actual file name issue [2] Cordova resolveLocalFileSystemURL works but then fileEntry.file() fails [3] Get real path from URI, Android KitKat new storage access framework