viv ojha
viv ojha

Reputation: 9

How application get update from apple store?

I want to know about process of app update from apple store. I have below mentioned doubts about process:

  1. Code base overwrite or just replace?

  2. Does application re install and install during update process?

  3. If suppose that application is running in device, take an update from apple store..now user get same screen or application launch again??

  4. I used phone gap for application. if suppose that application is running and user get update..at that time mew js file work or old??

Please share information about same with me. Actually, I submitted application in both environment iOS and Android, its working fine in both platform. after some time i have resubmitted update in both platform that is available at both Apple/Google store. When i update android app from Google market its working fine, but when i update app from apple store its not working fine ..simlpy hangs at login screen. when just install fresh build its working fine.

Could you please help on this?

Upvotes: 0

Views: 222

Answers (2)

rob mayoff
rob mayoff

Reputation: 385540

If an app is running when the system begins installing an update, the system kills the running app before installing. The app will be launched the next time the user opens it.

When the system installs an app update, it deletes all files in the old version of the app bundle and then installs the files from the new version of the app bundle. If any files existed in the old app bundle but not in the new app bundle, they are gone after the app has been updated.

The user's files (such as the contents of the app's Documents directory) are not touched.

If your app hangs after you have updated it, then you have a bug that you should try to track down in the debugger.

UPDATE

If the user manually uninstalls the app, the system removes all of the user's documents for that app, and removes the user's preferences, and removes any other files (like cache files) associated with the app. So when the user uninstalls the old app before installing the new app, he is starting with a “clean slate”.

If the user just updates the app from the app store, without manually uninstalling the old version first, all of his existing documents and user preferences and cache files are still around. If the new version of the app doesn't understand one of those files or preferences, it might crash.

As the app developer, it is your responsibility to make sure the new version of your app is compatible with the old versions of documents, user preferences, caches, or anything else that might be around after an upgrade.

Upvotes: 3

Geraud.ch
Geraud.ch

Reputation: 1499

I don't have any idea how PhoneGaps works but as far as I know for iOS, the code is replaced by the new version when you download it from AppStore or somewhere else (MAM/MDM) but saved content (such as user preferences) is not removed.

First the user downloads the app from the store, then the code is replaced and finally iOS checks the validity of your certificates. If everything works well the new app is available.

There is no forced update, which means the user has to tap on the download button on the AppStore.

Upvotes: 0

Related Questions