Queuing actions when offline

Hi all,

I am making an app that mainly acts as a portal to a web service API, that is, it provides forms etc to complete actions that are handled server side.

While 9 times out of 10, the users will have a working internet connection, there are instances where they won’t, so I would like to be able to queue actions and then send them when next online (like Gmail offline etc).

My thinking is to store all pending actions in json format in a list and send them one by one to the server when a web connection is detected.

So I’m wondering does anyone have any experience with this kind of thing and have any recommendations either with libraries or theory?

Cheers!
-Chris

1 Like

I think you can use websql to store pending work and when internet will work then you can run a process to sync application data with server.