Skip to content

Conversation

florian72810
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant