expo-file-system documentDirectory using cache storage on Android

I’m moving files from FileSystem.cacheDirectory to documentDirectory and was expecting to see the Data folder on the Android device increasing in size (Settings>App info>Storage). However, the Cache folder appears to be affected, with no change to Data.

Hitting “Clear cache” from the device storage screen does not delete the files. It’s almost as if they are being stored in some kind of protected area within Cache. Is this the expected behaviour for this package?

SDK: 45
Platforms: Android (Galaxy S10e, Moto E6)
Package: expo-file-system

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