Sorry..long night of coding, and I'm a bit confused. lol.. If you release a new version of your app to your end users through the app stores, does the end user's app data get cleared out? For instance I store app config in a shared object, will updating the app ever clear out this data? Thx.
Will app updates clear end user app data?
(6 posts) (3 voices)-
Posted 2 weeks ago #
-
Not normally, local data should remain during an app update, including shared objects, and application storage files.
Cache files may be cleared though.
Posted 2 weeks ago # -
Thx! But for clarity... is there any scenario where an app update would cause the local data to be cleared / reset?
Posted 2 weeks ago # -
One thing that could cause you to lose access to it is if you change the id, i.e. the com.xxx part of the app descriptor. No reason for you to do that normally, but you might be tempted to use different strings for debug and release, or change it to fix a typo.
Posted 2 weeks ago # -
If you are talking about an update through the app store / play store, then updating alone will not cause application data to be deleted. I am not aware of any circumstances that this would occur. I think previous to iOS 5/6 or somewhere around there the app did used to lose it's data but it should be stored in a separate area now that isn't removed on update (only on uninstall).
You can programmatically do it in your application but the store / device won't do it for you.
Posted 2 weeks ago # -
ok, great, thx for the comments. Much appreciated.
Posted 2 weeks ago #
Reply
You must log in to post.