Offline data storage and sync when network comes back

Hi
I am making an app using ionic which takes some pictures through camera and uploads it to server. Wanted to store the image data on the phone somewhere so that when internet comes back data gets uploaded. Any suggestions for this.

You can check out my tutorial on how to capture and store images to see how you can save them to your apps filesystem.

Regarding the network connection you can have a look at ngCordova network to check for internet and then upload your files.

2 Likes

Thanks for replying so quickly. I am storing the info about the image in a json. I am looking to store that.