Does updating an app keep my data

Hi All,

Just a question really about the app when it is live.

Right, I release my app. As the user plays, data is saved in the app in tables.

Now if I release an update to the app, will the saved data carry across to the app?

This is a real problem for us if we cannot.

Many thanks,

Rob

Best Answer

Answers

  • ericzingelerericzingeler Member Posts: 334
    edited February 2013
    If you add new cells to an existing table that is being saved, be sure to save the table before the app calls the data. Might be good to create a new scene on app load that will run the save command.

    I've found this out the hard way. My update broke the app and required user to delete and reinstall.
  • fogartyfogarty Member, PRO Posts: 181
    Whoa! I'm using tables to store data instead of attributes. So am I understanding correctly that when I update my game, the new tables will wipe out all the data that has been saved by the player in their tables?

    I've read this thread and the one it references, but I'm not sure I understand the answers. Is there a way to save the data with tables--so when players update to the new version they still have their high scores, coins, and such--or does it have to be done with save key/load key commands?
  • fogartyfogarty Member, PRO Posts: 181
    Bump.

    Anyone?

    I was going to submit my first app to Apple tonight. I've been working on it for a year, and now I discover this new problem. I clearly need to fix this before I submit. It would be horrid to wipe out everyone's high scores, unlocked levels, and so on. (I can't believe this wasn't mentioned in any of the tutorials I read and watched about saving data in tables.)
  • fogartyfogarty Member, PRO Posts: 181
    OK, I've been searching and searching, and I think I found two old threads that say as long as you're using TABLES to save your data (and not attributes) everything will be fine when you update your game (as long as you don't add any new cells to existing tables).

    http://forums.gamesalad.com/discussion/49054/updating-app-with-tables-will-it-overwrite

    http://forums.gamesalad.com/discussion/49054/updating-app-with-tables-will-it-overwrite

    Is that correct?
Sign In or Register to comment.