Currently, the images (items, enemies, profile, etc) and data (enemies, items, etc) are fetched directly from the database. this make the current application works only while online.
The proposed solution:
Store these static data locally. and make the repos decide when to get the local version or the remote version.
The images and data are to be downloaded on first login.
The image and data are to be synced daily using JobScheduler
Currently, the images (items, enemies, profile, etc) and data (enemies, items, etc) are fetched directly from the database. this make the current application works only while online.
The proposed solution:
JobScheduler