TWA
TWA

Reputation: 12816

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.

Upvotes: 5

Views: 1738

Answers (2)

Dilip Rajkumar
Dilip Rajkumar

Reputation: 7074

You can use TestFlight for beta testing or preproduction testing.. visit TestFlight.com for more information..

Upvotes: 0

epatel
epatel

Reputation: 46051

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.

Upvotes: 6

Related Questions