Jacque, I'm storing an SQLite db in the documents folder so the Android and iOS code is the same. The db is static until an update. The update will replace the entire db with new data. There is also 2 other dbs in the doc folder. One db hold the registration info and the other is notes the user can save and is linked to the replaceable db. I am now waiting for the second round from the Apple approvers, but they did not complain about the db in doc folder when the first submission was rejected. I got rejected for a registration code instead of a username/password card. The app is now "waiting for approval"....again. The db data is not available for update anywhere except for an app update. I hope this db in the docs folder will not be a problem for us in the future.
Ralph DiMola IT Director Evergreen Information Services [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of J. Landman Gay Sent: Wednesday, July 25, 2012 2:40 PM To: LiveCode Mailing List Subject: Storing data on iOS For those who have gone before me: I have some files that are downloaded from a server and stored on the device. The files will be updated periodically. I don't want to download them repeatedly unless they've changed. Apple says not to store data in the documents folder if it can be retrieved from elsewhere. That makes me think I should keep it in the cache folder. But I'd rather it was backed up so the user doesn't need an internet connection if they want to use the app and the cache has been wiped. Where would you store the files? -- Jacqueline Landman Gay | [email protected] HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
