Steffen B
Steffen B

Reputation: 1

Cordova FileOpener2 on SD card

I'm struggling for hours now to read and write to SD card on Android using cordova, since cordova.file.externalRootFolder just gives back file:///storage/emulated/0 (Android 6.0+), which is the same as the internal disk. But I got that working now, so I got file:///storage/7EC0-0CEC/, which is the root folder of the SD-card I inserted into my smartphone. I still can't create folders on that root, but I can use the application folder file:///storage/7EC0-0CEC/Android/data/{app-name}/files/.. to store my files. Now with the file-opener2-plugin I can't open the File. The Error I get is:

Failed to find configured root that contains /storage/7EC0-0CEC/Android/data/{app-name}/files/test.txt

Any suggestions? Did I miss to configure something?

Upvotes: 0

Views: 228

Answers (0)

Related Questions