I want to port my Cordova app to React Native using Expo. My app currently stores files that the user should not see in the cordova.file.dataDirectory
which equates to "app-uuid/Library/NoCloud/"
on iOS or "app-id/files/"
on Android as shown here.
According to the latest Expo FileSystem docs (and the code), the only directories that I can access with Expo are the cacheDirectory
or the user-accessible documentDirectory
.
My app needs to work reliably offline, so I can’t use the cacheDirectory
to store captured (and resized) images and other data the user shouldn’t tamper with before it gets uploaded. So, I’m wondering when the Expo FileSystem API might add more directories, particularly the ones that I specified above?