"If you read this immediately after reading the docs for cordova.file.dataDirectory, you may think that files there do NOT survive app restarts."
Which ones, the files from dataDirectory or the files from cacheDirectory? If you mean dataDirectory, maybe the doc should be something like this: cordova.file.dataDirectory - Persistent data directory where to put app-specific data files. (iOS, Android) cordova.file.cacheDirectory - Directory for cached data files or any files that your app can re-create easily. The OS may delete these files when the device runs low on storage, nevertheless, apps should not rely on the OS to delete files in here. (iOS, Android) It's a mix from the apple https://developer.apple.com/library/ios/Documentation/FileManagement/Conceptual/FileSystemProgrammingGUide/AccessingFilesandDirectories/AccessingFilesandDirectories.html#//apple_ref/doc/uid/TP40010672-CH3-SW11 and android doc http://developer.android.com/guide/topics/data/data-storage.html 2014-06-29 19:08 GMT+02:00 Ray Camden <rayca...@adobe.com>: > According to the docs, cordova.file.cacheDirectory is: "Cached files that > should survive app restarts. Apps should not rely on the OS to delete files > in here. " > > If you read this immediately after reading the docs for > cordova.file.dataDirectory, you may think that files there do NOT survive app > restarts. > > Can we flesh out this a bit more perhaps?