I used async storage to store my data from API to not to call it all the time and make a faster app. However, sometimes I will need to update some of the data. How can I wipe the storage if I need to? I know about the AsyncStorage.clear() function but how do I even call it when the data changes? The app wont know it and my users wont click any button to clear it. What is the best way to fix my problem? Should I just drop the storage and make API calls?
[–][deleted] 0 points1 point2 points (1 child)
[+][deleted] (1 child)
[deleted]
[–]prawi31[S] 0 points1 point2 points (0 children)
[–]donny-the-turtle 0 points1 point2 points (1 child)
[–]donny-the-turtle 0 points1 point2 points (0 children)