Skip to content

Decisions6 min read

Rebuild or refactor an inherited app: a test to run before you pay for either

By Published

Short answerBefore you pay for a rebuild or a refactor of an app you inherited, test five things: whether it builds from source today, how far its toolchain is from what Google Play and the App Store now accept, whether its tests run, how old its dependencies are, and who holds the signing keys and store accounts. The answers usually make the decision for you, and they cost far less than either option.

Why I test before anyone quotes a rebuild

An inherited app is one you own but did not watch being built. The previous developer has gone, the agency closed, or the freelancer stopped replying. Now someone has to quote for the next version.

Two quotes tend to arrive. One says the code is bad and everything must be rewritten. The other says a few fixes will do. Neither is worth much unless the person quoting has built the app from its source and looked at the accounts. I would not sign either until that has happened, and you can run most of the test yourself, with any developer you trust doing the typing.

Test one: does it build from source today

Start with a clean machine. Not the old developer's laptop.

Clone the repository, follow whatever setup notes exist, and try to produce an Android app bundle and an iOS archive. For a Flutter app, the steps are fetching packages and running the build for each platform. Write down every step that was not in the notes, every password someone had to find, and how long it took. If nobody can produce a build, nothing else in this test matters yet: the first job is getting one, and that job is the same whether you later rebuild or refactor.

Test two: how far the toolchain is from what the stores accept

An app that builds is not the same as an app the stores will take. Both stores raise the bar on a schedule.

Google's Play Console Help page says that from August 31, 2026, new apps and app updates must target Android 16 (API level 36) or higher, and existing apps must target Android 15 (API level 35) or higher to stay available to new users on newer devices. The same page says you can request an extension to November 1, 2026. Apple's upcoming requirements page says that since April 28, 2026, apps uploaded to App Store Connect must be built with Xcode 26 or later using the iOS 26 SDK, and since September 9, 2026, iOS and iPadOS apps uploaded must target iOS 13 or later.

So compare the app's Flutter version, Android target and Xcode setup with those numbers. Flutter's upgrade docs recommend the stable channel for production releases and publish migration guides for known breaking changes. An app two or three Flutter versions behind usually means reading a few migration guides. An app on a framework version that can no longer build with current Xcode is a bigger job, and that is the number to put in front of whoever is quoting.

Test three: tests and dependency health

Run the tests, if there are any. Then look at the packages.

In a Flutter project, flutter pub outdated lists each dependency with the version in use, the newest version the project's constraints allow, the newest that resolves with everything else, and the latest published. Dart's docs describe these as the Current, Upgradable, Resolvable and Latest columns. A short list where Current and Latest are close is a healthy sign. A long list of packages several major versions behind means each upgrade can break something, and without tests nobody will know until a user does.

  • Do tests exist, and do they pass on a fresh clone?
  • How many dependencies are a major version or more behind?
  • Are any packages abandoned, with no release in a long time and no replacement planned?
  • Do the payment, login and push packages still support the store targets above?
  • Is there one place that holds API keys and config, or are they scattered through the code?

Test four: who holds the signing keys and accounts

This one can override everything else.

On Android, Google's Play App Signing page says that if you lose the upload key you are not locked out, and you can request an upload key reset from the Play app signing page. It also says an app signing key you manage yourself cannot be reset if you lose it. So check in Play Console whether the app uses Play App Signing, and who has the upload keystore and its passwords. On iOS, check that the app sits in your own Apple developer account. My app handover checklist covers each account and what to hold, including moving an app that was published under someone else's account.

If you cannot reach the accounts, fix that first. A rebuild does not solve it. To keep your users and reviews, I would want the rebuilt app to ship as an update to the same store listing, and that needs the same access.

Reading the results

This is the decision table I would use. It is a starting point for a conversation with your developer, not a formula.

What the test foundLeaningWhy
Builds today, a version or two behind, tests passRefactorThe upgrade is planned work, and the tests catch what it breaks
Builds today, far behind, few or no testsRefactor in stages, adding tests firstTests make each step safe; a rewrite would lose behaviour nobody wrote down
Does not build, but the code is readable and the stack is currentRepair the build, then refactorMissing setup is cheaper to recover than an app
Framework too old to build with current store tooling, and core flows need redesign anywayRebuildThe upgrade path costs close to a rewrite and keeps the old design
Accounts or signing keys missingStop and recover accessNeither option ships an update until this is solved

Where I come in, and what each path costs

Running this test with you is the kind of architecture review my CTO consulting covers. You get the findings in writing, with the leaning and the reasons, so any developer can quote against the same facts. Refactoring an existing app is custom work, so it is a fixed quote after a written scope.

If the answer is a rebuild, my app packages are fixed prices: Launch at $999 for up to 10 screens, Growth at $1,699 for up to 25 with a Node.js backend and PostgreSQL, and Scale at $2,500 for up to 50 with an admin dashboard. Third-party fees, hosting and ongoing maintenance are not included, and store approval is Apple's and Google's decision.

Questions

Can I rebuild the app and keep the same store listing?
Usually, as long as you control the store accounts and, on Android, can sign updates for the app. That is why I check keys and accounts before anything else. Without them, a rebuild may have to launch as a new listing.
Is a rewrite in a different framework ever the right call?
Sometimes, if the old framework can no longer build with the tooling the stores require and the main flows need redesigning anyway. If the app builds, passes its tests and only lags a few versions, I would refactor.

Sources

Platform rules and fees in this article were checked against these official pages on 11 November 2026. They change, so confirm before you rely on them.

Sannan Malik is a software architect and product builder with 8+ years in software, CEO of Alpha Notic FZE and a Certified Scrum Product Owner. He builds mobile apps and business software for companies in the UAE, the wider Gulf, the UK, the US, Canada and Australia.

Let's build it

Got an idea? Let's talk.

The fastest way to reach me is WhatsApp. Tell me what you're building and I'll reply with how I'd approach it, which package fits, or what a custom scope would look like.

Message me on WhatsApp