According to the docs, FilesystemDirectory.Data
will use the Documents directory on iOS.
We have a couple of questions:
- on iOS, what is the difference between
Documents
andData
directory? By looking at the docs, all the options say “On iOS it will use the Documents directory” no matter what we choose. Same goes forExternal
andExternalStorage
. - since we are migrating from Cordova, what is the alternative for
cordova.file.dataDirectory
in Capacitor? On iOS,cordova.file.dataDirectory
is thelibrary-nosync
folder, see GitHub - apache/cordova-plugin-file: Apache Cordova Plugin file
We also need access to iOS/tmp/
directory, which would becordova.file.tempDirectory
Thanks for your help