I’m building an app where the user can take photos which will be uploaded to Firebase Storage for backup.
I’m trying to figure out the best way to do this so the user doesn’t have to re-download the images every single time they open the app.
So I need some sort of way to cache the images and I’d like to know what approach people have taken.
I was thinking of maybe just storing the images taken in AsyncStorage but then I would need to somehow implement synchronising it with Firebase cloud storage - so things like if new images for the user come in, I’d need to download it manually, delete it from firebase storage if they delete it from asyncStorage etc.
Is there a better solution to this?