i am trying to find out where it would be a good idea to store my data.
should i store all my images (base64 encoded) into redux? this could amount to up to 100mb of data. or should i store the images into SQLite where i assume the data is stored flat like in an sqlite “.db” file.
hi. thanks for the reply. the expo FileSystem is great, but in my data there is going to be some metadata with each image (which i need to be able to query by).
using expo FileSystem, would mean i would have to query the contents of a directory and read the files individually. this is a perfectly valid solution if you think the performance of reading the contents of a directory one file at a time (asynchronously) is going to faster than AsyncStorage and expo SQLite.
i guess it depends on what the underlying method expo FileSystem uses to store data “locally on the device”.
hey @xoron, so we use the file api’s that the platform exposes for Filesystem (ie) java.io.File for Android. Our Filesystem code is open source, so you can inspect the code to see if it matches your usecase: