For our app we need the app the work offline 100% with the most recent data. Normally the app uses a symfony api platform API to fetch data paginated server side.
But when someone is using the app in a area without Internet he still need to be able to access all data to make a new job and que it for when he is online.
So our tough is to make a json that has all the data and send it to the phone when the phone has connection. When the phone is using the app live, it will use pagination from server and fetch data. And when offline it will use the local downloaded data file.
Problem is the data is large, so storing it is the problem.
We are now using redux persist and we see so many people have problems with crashes and mobile ram. We also thought of using sqlite or just async to store a json file, or download a sqlite file from the app.
How do you guys feel about this