When is data in FileSystem.cacheDirectory deleted?

Hello everybody :slight_smile:

I’m using SDK Version 39.0.0

In the documentation is written:

file:// URI pointing to the directory where temporary files used by this app will be stored. Files stored here may be automatically deleted by the system when low on storage. Example uses are for downloaded or generated files that the app just needs for one-time usage.

Can one estimate how often the data is deleted?
Is it only deleted when the device’s storage is full?

I’m asking this because I got trouble with data stored in FileSystem.documentDirectory in this topic and I’m searching for a workaround:

Thanks a lot for your help :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.