Start a new topic

File - offline capabilities

Hi,

i'm actually building a phonegap app with Kinvey. This app needs offline saving capabilities and it actually works perfectly except on one point!!

The app allow users to take photos with the device camera and i would like it to work also offline. The problem is that the Kinvey file upload seems to be online to perform. could you please confirm ? if true, would you have a workaround to be able to take a photo offline and then manually upload with sync when bakc online?



thanks for your help !
1 Comment

Yes, that’s right. What you can do is save the uploaded file (either in memory, or on disk, see [here](http://docs.phonegap.com/en/edge/cordova_file_file.md.html#requestFileSystem)), and upload it later when the app comes back online (listen for the `online` event).
Login or Signup to post a comment