Replies: 1 comment 5 replies
-
Short of an existing plugin that already does these tasks, no I don't think so. The file plugin does have limited support for It's weird that your SAF plugin isn't accepting |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey together!
I'm already researching and trying for 1,5 days now but i don't get the point.
My goal: My app let's the user select a folder (external storage, so he can upload files there). Then in my app i want to get the subfolders and the files (jpg's) inside of them, just reading them, no manipulation.
I now that cordova-plugin-file doesn't help anymore since we bound to SAF.
I can do the folder selection with cordova-plugin-saf-mediastore. Let's say, the user selects the folder "books", so i get the URI "content://com.android.externalstorage.documents/tree/primary%3Abooks"
I can't call saf-plugin's getFilename, this get's my a Java Exception about unsupported URI type.
Also window.resolveLocalFileSystemURL() doesn't work, what i didn't expect.
Is that possible at all in JS/Cordova without switching to Java coding?
Beta Was this translation helpful? Give feedback.
All reactions