The launch date has slipped three times. The last build crashes on the login screen. Your agency's project manager now replies every four days, always with a new reason. You've decided to replace failed offshore development agency work with a new team, and the instinct is to find one and start fresh as quickly as possible. Slow down for one week first. The order you do things in decides whether you keep the work you paid for.

Step 1: Secure access before you announce anything

Before you tell the current agency you're leaving, make a list of everything your product depends on and who controls it. Then get control of it, quietly and politely, while the relationship is still working.

  • Source code. Every repository: mobile app, backend, admin panel, infrastructure scripts. Ideally hosted under your own GitHub, GitLab or Bitbucket organisation. If it's in their account, ask for it to be transferred or mirrored to yours.
  • Cloud accounts. AWS, Google Cloud, Firebase, Azure, hosting providers. You need owner-level access, not a guest login.
  • App store accounts. Your Apple Developer and Google Play Console accounts should be registered to your company. If the app was published under the agency's account, start the app transfer process now; it takes time and needs their cooperation.
  • Domains and DNS. The registrar account, plus any DNS provider.
  • Third-party services. Payment gateway dashboards, email and SMS providers, analytics, crash reporting, maps and AI API keys.
  • Secrets. Environment variables, signing keys and keystores. Losing the Android signing key or the iOS certificates can make updating a live app painful.

If the agency has already gone quiet, our post on what to do when your app developer disappears covers the recovery steps.

Step 2: Find out what you actually have

The agency's status reports describe what they say exists. You need an independent view of what's actually there. Have a new team or an independent engineer answer these questions:

  1. Does the code in the repository build, and does it match what's live in the stores and on the server?
  2. Is there any automated testing? What's covered?
  3. How is the backend deployed, and could someone else repeat it from documentation?
  4. Are there obvious security problems: secrets in the code, an open database, API keys shipped inside the app, no server-side checks on payments?
  5. How is state management and architecture organised? Is it consistent, or does every screen do things differently?
  6. What are the top five bugs users or testers are hitting?

This audit usually takes days, not weeks, and it's the most valuable money you'll spend in the transition.

Step 3: Fix or rebuild?

Every new agency is tempted to recommend a rebuild. Sometimes it's right. Often it isn't. A reasonable test:

  • Keep and fix if the architecture is broadly sound, the code builds, and the problems are concentrated in specific features. Fixing is faster and keeps your live users' data and app store history intact.
  • Refactor in stages if the structure is messy but the app works. Replace one area at a time behind the existing behaviour. On a fintech and commerce project we migrated state management from GetX to BLoC; our GetX to BLoC migration post describes the approach.
  • Rebuild if the code doesn't build, there's no way to deploy it reliably, the data model is wrong at its core, or there are security problems baked into the design (for example, payments confirmed on the client instead of the server).

Whatever the decision, it should come with reasons you can understand, tied to the audit findings.

How to replace failed offshore development agency work without repeating the mistake

The failure was rarely just "bad developers". Usually several things lined up: a vague scope, a large upfront payment, no access to the code, progress measured in percentages, and nobody on your side technical enough to notice early. Change the structure as well as the vendor.

  • Own everything from day one. The new team gets invited into your accounts. They never own them.
  • Fixed-price milestones you can stop between. Each milestone ends in something you can run. If the new team disappoints, you leave after one milestone, not after the whole budget.
  • Weekly written updates. What shipped, what's blocked, what's at risk. In writing, so you have a record.
  • Meet the engineers. The people who scope the work should be the people who write it.
  • Read the commits. Even if you're not technical, a repository with steady daily commits and clear messages looks very different from one with a single large commit every fortnight.

Handling the handover with the old agency

Keep it professional, even if you're angry. You want their cooperation for the app store transfer, credentials and any knowledge that isn't written down. Check your contract for notice periods, IP assignment and what's owed for work in progress. Pay for work you've received and can verify; dispute what you can't, in writing. If the contract is unclear on IP, get legal advice before you withhold any payment.

Ask them for a short handover document: how to build and deploy, where the secrets live, known bugs, and anything half-finished. Some agencies will do this well. Some won't. Your audit covers you either way.

orithLabs takes over existing codebases regularly: auditing them, stabilising what's live, and then continuing development or keeping things running through our maintenance and support work. If you're partway through a bad engagement and want a second pair of eyes on the code, a free 15 or 30 minute call is a low-risk place to start.