Skip to content

complete android file paths#42

Open
florianguillaumin wants to merge 1 commit intomostafa-mansour1:masterfrom
florianguillaumin:fix_local_files
Open

complete android file paths#42
florianguillaumin wants to merge 1 commit intomostafa-mansour1:masterfrom
florianguillaumin:fix_local_files

Conversation

@florianguillaumin
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