Fresh installs, upgrades, skipped versions, reinstalls and downgrades. Learn what happens to user data at each step, how to test upgrades, and why every bug report needs a version and build number.
40–65 min beginner Mobile
Your progress
Monday, 8:05 a.m. A grocery delivery app ships version 3.0, a beautiful redesign. By 9:00 the support inbox is on fire: “I’ve been logged out”, “My saved shopping lists are gone!”, “Dark mode turned itself off”. The team had tested 3.0 for weeks, and every test passed. The catch? Every tester had installed 3.0 fresh. Nobody had started on 2.x, created real data, and then updated, which is exactly what millions of real users did that morning.
Most of your users will never do a fresh install of your newest version. They already have the app, with their account, favorites and settings, and they get the update in the background overnight. This lesson is about testing that journey.
Part Not started
Why it matters
Data loss is the worst kind of bug. A crash annoys people. Losing their saved addresses, order history or workout streak makes them leave and write one-star reviews.
It only shows up in one path. Upgrade bugs hide from testers who always start from a clean install. You have to deliberately walk the path from old version to new.
You can’t easily undo it. Once a broken update is out, the store won’t let users go back to the old version. A hotfix helps the next users, not the ones whose data is already gone.
Onboarding, first permission prompts, empty states
Upgrade (update)
A newer version replaces the old one
All the old app data
Data migration, staying signed in, settings kept
Reinstall
Uninstall, then install again
Usually nothing, but some data can survive (see below)
Leftover login, restored backups, “ghost” data
Downgrade
An older version replaces a newer one
Data in a newer format
Old app can’t read new data: crashes, data loss
Check this part
All your tests pass on a fresh install of 3.0. Why can users still lose data after updating?
Upgrade bugs hide from testers who always start from a clean install. Only an upgrade test exercises the migration.
Can users go back to an older version from the App Store or Google Play?
Users only ever move forward, which is why a broken update is so hard to undo.
Most users update rather than install fresh. Fresh install, upgrade, reinstall and downgrade each carry their own risks.
Part Not started
The first launch
The very first launch after a fresh install is the user’s first impression, and it’s packed with one-time logic: onboarding screens, sign-up or sign-in, and permission prompts.
Onboarding. A few welcome screens that explain the app. Check you can skip them, that they appear only once, and that they don’t come back after an update or a restart.
Empty states. No orders, no favorites, no history yet. Every list should have a friendly empty state, not a blank screen or a spinner that never stops.
If version 2.0 stores favorites in a new database table, it needs a migration: code that runs on first launch after the update and converts the old data into the new format. Things to check:
Data is still there. Favorites, carts, drafts, history, downloaded files.
Versions below the minimum see the prompt and can’t continue.
Versions equal to or above the minimum never see it. Watch out for 1.10 vs 1.9: compared as text, "1.10" comes before"1.9", so a lazy comparison thinks 1.10 is older.
The Update button opens the right store page.
There’s also usually a softer “Update available” prompt that can be dismissed. It shouldn’t nag on every launch.
Check this part
A migration works from 3.3 to 3.4 but loses data from 3.0 to 3.4. What is the most likely cause?
Users who skip releases need every intermediate migration to run in order.
Why does "Update required" keep appearing on version 1.10 when the minimum is 1.9?
Version parts must be compared as numbers: 10 is greater than 9.
Updates replace the code but keep the data, so migrations, skipped versions and forced updates all need testing.
Part Not started
What happens on uninstall
Uninstalling deletes the app’s sandbox: its database, files, caches and preferences. But “deleted” isn’t the whole story:
iOS
Android
App files, database, preferences
Deleted
Deleted
Permissions
Reset (prompts show again)
Reset
Secure storage
Keychain items can survive a reinstall
Keystore keys are deleted
Cloud backup
iCloud backup restores data only when restoring a whole device
Auto Backup can restore app data (up to 25 MB) when reinstalling with the same Google account
“Keep data” option
Offload App removes the app but keeps documents and data
Some apps offer “Keep app data” when uninstalling
On Android, the reverse surprise is Auto Backup: you uninstall, reinstall, and your old settings or even a stale login come back. That can be a feature (users love it) or a bug (restoring a token that the server already revoked). Know which one your team intends.
Try it: the version timeline
This is FreshCart, a grocery app with five releases. Play a real user’s journey:
Install 1.0, go through onboarding, sign in, add a few favorites, and turn on Dark mode in Settings.
Update to 1.1, then 1.9 (new database), then 2.0 (redesign). Check that everything survived.
Reset, then do it again but skip straight from 1.0 to 2.0.
Set the server’s minimum version to 1.9 and try different versions.
Uninstall and reinstall. Watch the Keychain in the storage inspector.
Try installing an older build over a newer one, and turn on Low storage before an update.
Check Settings › About for the version and build number, and keep an eye on the device log: it shows what the app does behind the scenes on every launch.
9:41
FreshCart is not installed
Pick a version on the timeline to install it.
Version timeline
build 41
build 48
build 77
build 83
build 105
Nothing installed. Tap a version to install it.
Real stores only offer the newest version. Here you can pick any version to play users who update late, skip releases, or test older builds.
Storage inspector
App data
Deleted on uninstall
empty
Keychain
Can survive uninstall on iOS
empty
Permission
Notifications: not asked yet
Device log
Install a version to start…
Low storage and app size
Phones are often almost full. Updates need space for the download and the unpacked app at the same time, so they can fail even when the app itself is small.
The update fails cleanly. The old version stays installed and keeps working, with its data intact.
The app copes when storage is full at runtime. Saving a photo, downloading a playlist or writing to the database can fail. The user should see a clear message, not a crash or silently lost data.
App size is a feature. Check the size in the store listing and on the device (iOS: Settings › General › iPhone Storage › [app], Android: Settings › Apps › [app] › Storage). Watch for sudden jumps between versions, and for “Documents & Data” that keep growing forever (a cache that’s never cleared). iOS also asks for confirmation before downloading big apps over mobile data.
Check this part
On iOS, which data can survive uninstalling and reinstalling an app?
Keychain items can survive a reinstall, so apps should clear leftovers on the first launch after install.
An update fails because the phone is almost full. What should happen?
Updates need space for the download and the unpacked app at the same time, so they can fail. The old version must stay intact.
Uninstall deletes the sandbox, but Keychain items and Auto Backup can bring data back. Plus low storage and app size.
Part Not started
Store install vs test distribution
As a tester you’ll mostly install test builds, not store builds. They’re the same app, but not identical:
Store build
Test build (TestFlight, Firebase, Play testing tracks, Xcode, adb)
On Android, the build number is a whole number that must increase with every Play Store upload. Android refuses to install a lower one over a higher one, which is why downgrades need special tools.
Dev note
Android calls the version versionName and the build number versionCode. iOS calls them CFBundleShortVersionString and CFBundleVersion.
“Latest” changes every day. A developer reading your report next week can’t know which code you tested, whether the fix was already in it, or whether the bug only happens after an upgrade. See Writing bug reports for the full template.
Check this part
What should the Build field of a bug report contain?
Many builds share one version number. Only the exact build tells developers which code you tested.
Which upgrade test should always be done before a release?
That is the exact path your users will take, ideally tested on a real device.
Test builds differ from store builds, and every bug report needs both the version and the build number.
Part Not started
What to test
Fresh install
Onboarding appears once, can be skipped, and doesn’t return after restart.
Permission prompts appear in context, and the app works when they’re denied.
Empty states on every list; first sign-in syncs the right account’s data.
Upgrade
From the previous version, from the current store version and from the oldest supported version (skipped releases).
User stays signed in; favorites, carts, drafts, history and downloads are kept.
Settings and preferences keep their values.
Existing users don’t see first-launch onboarding again (a short “What’s new” is fine).
Update while the app is running in the background, and with a pending action (an item in the cart, an unsent message).
Forced and optional updates
Below / equal to / above the minimum version, including two-digit parts like 1.9 vs 1.10.
The Update button opens the right store page; the optional prompt can be dismissed and doesn’t nag.
Uninstall and reinstall
After reinstall the app behaves like a fresh install: no previous user’s name, token or data (unless restoring is an intended feature).
Skipped releases are where migrations most often break.
What should the app behave like after an uninstall and reinstall?
Leftovers from the previous install are a privacy risk. Check Keychain leftovers on iOS and Auto Backup on Android.
What to check for fresh installs, upgrades, forced updates, reinstalls and edge cases like low storage.
Part ProNot started
Common bugs
#
Bug
What you see
Typical severity
1
Logged out after update
Sign-in screen right after updating; the token was moved or renamed without migrating
High
2
Data lost on upgrade
Favorites, carts or history gone after updating
Critical
3
Migration only from the previous version
Works 3.3 → 3.4, loses data 3.0 → 3.4
High
4
Settings reset
Dark mode, language or units back to default after update
Medium
5
Onboarding again
Existing users see welcome screens and permission explanations again
Medium
6
Forced update loop
“Update required” keeps showing after updating (string version compare)
Blocker
7
Crash on first launch after update
App crashes once, or every time, because of unexpected old data
Blocker
8
Ghost data after reinstall
Previous user’s name or token reappears after reinstall
High (privacy)
9
Update fails silently
Low storage: no message, app half-updated or old data broken
Medium
10
Cache that never shrinks
“Documents & Data” grows by hundreds of MB over weeks
Low–Medium
Find the bug
This build of FreshCart has six upgrade and install bugs. Use the timeline like a real user would: create data on an old version, then update, skip, restart, uninstall and reinstall. Compare what the app shows with the storage inspector and the device log.
🐞 Bug hunt: FreshCart upgrade paths
This demo has 6 hidden bugs. Explore it like a tester, then check your findings.
Found0/6
9:41
FreshCart is not installed
Pick a version on the timeline to install it.
Version timeline
build 41
build 48
build 77
build 83
build 105
Nothing installed. Tap a version to install it.
Real stores only offer the newest version. Here you can pick any version to play users who update late, skip releases, or test older builds.
Storage inspector
App data
Deleted on uninstall
empty
Keychain
Can survive uninstall on iOS
empty
Permission
Notifications: not asked yet
Device log
Install a version to start…
1
Hint: Sign in on 1.0, then update to any newer version.
User is logged out after updating from 1.0
Version 1.1 reads the login token from a new Keychain key (session_v2), but nobody moves the old session token. The storage inspector still shows the old token, yet the app asks you to sign in. Expected: the token is migrated and the user stays signed in.
2
Hint: Turn on Dark mode and Weekly deals email on 1.0 or 1.1, then update to 1.9.
Settings reset to defaults after updating to 1.9 or later
The 1 → 2 database migration moves favorites but forgets the settings, so dark mode and the deals email switch back off. Expected: all preferences keep their values after any update.
3
Hint: Add favorites on 1.0, then update straight to 2.0. Compare with 1.0 → 1.9 → 2.0.
Favorites are lost when skipping versions (1.x → 2.0)
The app only runs the migration from the previous schema (2 → 3). Coming from schema 1, it skips the 1 → 2 step, finds no saved_items table and starts empty (the log says "0 items"). Expected: all missing migrations run in order, so users who skip releases keep their data.
4
Hint: Set the minimum version to 1.9, then update to the newest 1.x version.
Forced update prompt keeps showing on 1.10
The app compares versions as text: "1.10" < "1.9" is true, because the character 1 sorts before 9. So 1.10 is treated as too old and the user is stuck in an update loop. (With minimum 1.10, version 1.9 is wrongly let through.) Expected: compare each number part as a number.
5
Hint: Finish onboarding on 1.x, then update to 2.0.
Existing users see the full onboarding again after updating to 2.0
Version 2.0 checks a new onboarding flag that existing users don't have, so they get the welcome screens again, although the storage inspector says onboarding was seen. Expected: existing users skip onboarding (a short "What's new" sheet is fine), only new installs see it.
6
Hint: Sign in, uninstall, then install again.
Previous user is still signed in after uninstall and reinstall
Uninstall deletes the app data, but the token in the Keychain survives on iOS. The app never clears it on first launch, so after onboarding it greets "Hi, Anna" with empty favorites. Expected: a fresh install clears leftover Keychain items and shows the sign-in screen.
Check this part
After a reinstall, the previous user's name appears again. What kind of bug is this?
Unless restoring is an intended feature, a reinstall should behave like a fresh install, with no previous user data.
"Update required" keeps showing after the user updated. Which common bug is this, and how severe?
The user can't get into the app at all. It often comes from comparing versions as text, where 1.10 looks older than 1.9.
The install and upgrade bugs that reach users most often, and a grocery app with six of them to find.
The rest of this lesson is in Bugwise Pro
The last parts of every lesson are part of Bugwise Pro. Sign in to unlock them if you have it.
With no computer at all you can run upgrade tests through TestFlight, the Play testing tracks or Firebase App Distribution (TestFlight and Firebase App Distribution), and check storage in the phone’s Settings. Lines that start with adb or xcrun simctl are optional shortcuts that you type in a terminal on a computer: adb is set up in adb Basics, and xcrun simctl comes with Xcode (see Simulators and Emulators). Skip them until you’ve done those lessons.
Upgrade test with TestFlight
In the TestFlight app, open the app › Previous Builds and install the older build (or the current store version from the App Store).
Use the app: sign in, create data, change settings.
Install the new build from TestFlight without deleting the app. TestFlight installs it over the old one and keeps the data.
Install a build: xcrun simctl install booted OldFreshCart.app, then the new one the same way. Installing over an existing app keeps its data, just like an update.
Uninstall deletes the app’s data, but iOS Keychain items can survive and Android Auto Backup can restore data. A reinstall should feel like a fresh install unless restoring is intended.
Stores never downgrade; test builds can. Keep old builds around for upgrade testing.
Every bug report needs the version and build number, the device and OS, and the upgrade path when it matters.
Finished this page?Nice work, this page is complete!
Mark it as done to track your progress. It's saved in this browser, no account needed.