I am creating a To-Do app (over saturated i know), and need the app to store data locally if the app is offline. When the user connects back to the server, then that information that is stored locally, needs to be uploaded to the DB so that it can be used on other devices etc.
The problem at the minute is is that whatever data the user created when the app is offline, is lost forever on establishing connection.
Is there anyway I can add a service worker, plug in or anything to help me with this issue?
Thanks in advance