How to bypass or reload the cache

SDK Version: 40.0.0
Platforms: Android (could be others, have not tested)

I have noticed that sometimes when I export a file from the FileSystem.documentDirectory with the Sharing.shareAsync function, i do not share the newest version of that file. It seems to me as if there is some sort of caching involved and that i share the cached version instead of the one in the device’s storage. Is there some way to directly read from the storage? or in the absence of that, force a cache reload for a specific file?

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