Reputation: 681
I have an application for iOS and Android, but I have never released any updates, that is, it is at version 1. I would like to know if when I release the update (version 2) what will happen with the local files of the app, in the following situations:
@edit My app was made in Delphi (firemonkey)
Upvotes: 0
Views: 505
Reputation: 681
My app was made in Delphi (firemonkey), I didn't mention it because I thought that replacing local files would be done by the AppStore and PlayStore in the update. But thanks to Paulw11 response, I was able to find out that it was Delphi himself who is responsible for this replacement, and contains a configurable property in each file called "Overwrite".
Upvotes: 0
Reputation: 114826
An app on iOS is distributed as a bundle (essentially a zip file). The bundle is read-only; it cannot be changed at runtime. When an app is upgraded on iOS the entire bundle is replaced.
An app can copy files from the bundle and save them to the read/write sandbox file system, but you need to write code to do this explicitly.
For your cases:
Things may be different on Android.
Upvotes: 2