Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS app behaviour after installing new version from app store

I have an iOS app installed in iPhone from app store, now if I have an updated version 1.1 for the same app at app store and I'm getting some sort of informative alert from the older version 1.0 (New version is available...).

If I click on alertview's ok button, it redirects me to the new app link in browser. I download my new version then.

Please provide answers of following questions :

  1. Will it replace old version?
  2. Will it replace sqlite and image folder on the document path? (Both version is having same named sqlite file, say abc.sqlite1.0 and same folder name, say imagesToBeCopied)
  3. Will it append the sqlite entitie rows with new rows for same entity?
  4. How can I install version 1.0 again from app store? Is it possible to get it anyhow?

Please provide your valuable answers on it, which can help me out to reach to some solution.

Thanks.

like image 300
Lalit Paliwal Avatar asked Jul 24 '12 06:07

Lalit Paliwal


1 Answers

1.Will it replace old version?

Yes, the app bundle will be replaced by the new one

2.Will it replace sqlite and image folder on the document path? (Both version is having same named sqlite file, say abc.sqlite1.0 and same folder name, say imagesToBeCopied)

No, the documents directory is not affected by the update process. If you have procedures in your code that update the documents directory, they will still run, but without any changes it would be no different to a normal launch of your app - e.g. if you check for and copy if needed, something from the bundle to the documents directory, this will only happen if the target file doesn't already exist.

3.Will it append the sqlite entitie rows with new rows for same entity?

This is not related to the update process. If you want to modify the data as part of the update, you will write this specifically in first launch code for your new version.

4.How can I install version 1.0 again from app store? Is it possible to get it anyhow?

No, the updated version replaces the old one on the app store.

like image 147
jrturton Avatar answered Oct 08 '22 03:10

jrturton