Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Testing app upgrade on the iPhone

Say I have app version 1.0 released on the app store. Then I want to release version 1.1.

I will keep existing data that was copied out of the app bundle and into the app's sandbox. These are some XML config files and a sqlite db the user can write data to. These files could need updates that preserve their existing data.

What is the best way to test an upgrade scenario?

Is there any kind of delegate event that is only called on install?

Thanks.

like image 398
TWA Avatar asked Mar 04 '09 19:03

TWA


People also ask

Can you test apps on iPhone?

Tap View in TestFlight or Start Testing; or tap Install or Update for the app you want to test. If you're testing an iOS app that includes an iMessage app, launch the beta app from the Home Screen. If you're testing an app that's for iMessage only or a sticker pack, you can launch it from within Messages.

How do you check if an app needs an update on iPhone?

Open the App Store. Tap your profile icon at the top of the screen. Scroll to see pending updates and release notes. Tap Update next to an app to update only that app, or tap Update All.

What is upgrade testing in mobile apps?

Upgrade testing involves testing an upgrade to existing software. It's typically done to test that an upgrade can be installed on an existing user's machine.


1 Answers

I think testing with AdHoc versions that is dragged dropped in iTunes is a similar upgrade situation.

That's how I tested upgrading our Chess game, so it keeps old and current games on the device.

As for the files/DB I suggest they should contain some version number.

like image 64
epatel Avatar answered Sep 26 '22 02:09

epatel