vendredi 25 mars 2016

Appcelerator getting a SQLite database to backup and restore with iCloud Backup

My app is live on the app store and users are reporting they cannot see their data after restoring the app to a new or reset iOS device.

The app uses a SQLite database created in the default Library/Private Documents folder by Appcelerator SDK.

I've set the remoteBackup = true flag on the database file, but I'm confused as to whether Apple even backs up from this folder, or whether the database needs to be in the Documents folder to be included in backup?

It should be noted that the database is likely to remain quite small, say 200-300Kb.

Has anyone employed a successful strategy to ensure locally stored SQLite data restores ok?

Aucun commentaire:

Enregistrer un commentaire