previewAnyFile
previewAnyFile copied to clipboard
complete android file paths
I noticed that files located in cordova.file.cacheDirectory in Android cannot be previewed with the method previewPath. The error is Failed to find configured root that contains /[...].
I updated the paths in file_paths.xml to match all known cordova paths.
Theses paths are taken from Cordova File Opener Plugin.
To test: download and save a file in cordova.file.cacheDirectory and try to preview it.