0

I have an iOS PhoneGap app. I'm storing some values using store.js. This works great. I'm a little confused about where this data goes. Is it stored to the apps data? So clearing the app's data from settings would remove it? Or is it stored with safari data? If I back up my apps data using cloud back up, will it be retrieved if I restore the phone?

Austin Fatheree
  • 842
  • 1
  • 7
  • 18

2 Answers2

0

Probably your data was stored at Web Storage. Try this Storing Objects in HTML5 localStorage issue.

Community
  • 1
  • 1
flapjack
  • 704
  • 1
  • 8
  • 13
0

Your data is stored in the application sandbox and is not persisted to iCloud.

You need to write a phonegap plugin to handle persistence to iCloud, or send some ajax calls and do the persistence yourself.

I was trying to look around for an iCloud Phonegap plugin but have not found one yet.

Nicolas Modrzyk
  • 13,961
  • 2
  • 36
  • 40