[Resolved] Doubt about updating app iOs

When we create a new version and people update it, the stored datas in Document directory are lost? [import]uid: 113117 topic_id: 27222 reply_id: 327222[/import]

No. system.DocumentsDirectory is preserved. However, if the owner deletes the app, the Documents Directory is also deleted.

[import]uid: 19626 topic_id: 27222 reply_id: 110571[/import]

@noeguer, unless the user deletes the old version before installing the updated version, the stored data in Document directory should still be there. In other words, so long as the updated version is installed over the previous version, the saved data will be available after the update.

Naomi
[import]uid: 67217 topic_id: 27222 reply_id: 110572[/import]

This is correct but be careful of you have code in there that sets scores or other stored variables to reset. It will run again after the update. (unless it is called by a saved variable from the Documents Directory!) [import]uid: 50511 topic_id: 27222 reply_id: 110586[/import]

Thanks you guys. [import]uid: 113117 topic_id: 27222 reply_id: 110647[/import]