A
A
artursk2016-03-31 09:53:31
Apple App Store
artursk, 2016-03-31 09:53:31

How is the application updated in the AppStore?

When updating the application in the store, will the user's settings saved in the previous version of the app fail in the application? For example, if I save a boolean variable through NSUserDefaults that fixes the purchase (for example, I assign it the value true for the purchase). When updating the app to a new version, this variable will not take the initial value? Are there any features when uploading a new version to the store?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Max, 2016-03-31
@artursk

If everything is saved to the local Documents user directory, then it is backed up in iCloud and saved after the application is updated.

system.DocumentsDirectory : This directory is intended for files that the app cannot regenerate on its own, for example user-specific data, "app state" data, or anything that the app generates post-installation. Files in this directory will persist for the lifetime of the app - that is, until the app is explicitly removed from the device. On iOS, files in this location are backed up by syncing unless you specify otherwise.
https://docs.coronalabs.com/api/library/system/Doc...

J
Jacob E, 2016-03-31
@Zifix

In general, they will be saved, but there is a bug in 9.3 .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question