I have a form to submit data to server when the device is online, but when the device is offline I want to store the data to local device storage and automatically send the data to server when the device is online.
Does anyone have an example or documentation of how to do this? I haven't started build the app yet, so I have no code to share.