I have a hybrid mobile webapp, which presents data to the user.
In online mode, the data is received from the web server via regular http GET requests.
In offline mode, the data is loaded from a .zip file on the mobile device. Loading the data requires human interaction to select the .zip file.
I want to add a small example dataset to the mobile app, that show potential users, that don't have a .zip file yet, how they could view their data.
So, I'm looking for a way to load the data automatically, when in offline mode, as if there was a .zip file and the user selected it.
What would be a good way to do this?
For example, can I embed an IndexedDB file in the mobile app that will be loaded automatically?
Thanks