When I use my installed Expo RN application on Android, the "Data" and "Cache" in "Settings" are always rising. I normally don't store data, so I don't understand why "Data" is rising. I would like to know how to clear data and cache programmatically
-
What have you tried so far and what were the results?– Zach ValentaCommented Oct 16, 2020 at 16:58
-
@ZachValenta I am using fetch and some random images from Internet. I understand why app is caching, but it's just too much. "Data" rising to 30mb in 30 mins– Astemir TsechoevCommented Oct 16, 2020 at 18:11
-
@ZachValenta I tried AsyncStorage.clear() and it doesn't work– Astemir TsechoevCommented Oct 16, 2020 at 18:28
Add a comment
|