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.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With