Skip to content

Field Guide

Rewriting a mobile app: your users already have Gen 1

A web rewrite can hide behind a router. A mobile rewrite arrives as an update on someone's phone, and you cannot take it back quickly.

Slide: a phone update replacing the old app, with checks for parity, staged rollout and a way back.

Three public rewrites show the range. Facebook rebuilt its iOS app as native code and shipped it as a normal update. Uber rebuilt its rider app on a new architecture for both platforms at once. Sonos replaced the app that controls its customers' speakers on one date.

What makes mobile different

The old app is already installed. The new one replaces it, so there is rarely a second route to send people back to. Releases pass through an app store, and a fix takes at least a review before users can get it.

Keep the scope narrow

Facebook's rewrite was not everything. Its engineering post says the team "rewrote Facebook for iOS from the ground up," and also that "for areas within the app where we anticipate making changes more often, we will continue to utilize HTML5 code."

Do not change everything at once

Uber did both platforms together. McLaren Stanley, an engineer on the project, wrote "We did both platforms at once," and that the rewrite was "an opportunity to adopt Swift." His account says that "once Swift started to scale past ten engineers the wheels started coming off." A new architecture, two platforms and a new language multiply each other's risks.

Parity is what users see

Sonos announced one date: the new app "will be available globally through a software update for the S2 mobile app and via an all-new web app on May 7, 2024." The same day a customer opened a thread titled "New SONOS app: many features no longer available!" Features people use daily are not the long tail.

How to lower the risk

  • List what users do, from usage data, and check each against the new app.
  • Release to a small group first with the store's staged rollout, or behind a feature flag inside one app.
  • Keep a way back: server-side switches, or both versions in one binary for a while.
  • Watch crash rate and startup time on old devices, not just the newest.

When not to use it

  • The problem is on the server. A new app will not fix a slow API.
  • One screen hurts. Rewrite that screen inside the existing app.
  • The team cannot maintain both while the new one is built.

Checklist

  • Every daily task in the old app works in the new one, or its absence is announced.
  • Rollout is staged and can be paused.
  • A server switch can disable the new behavior without a store release.
  • Startup time, size and crashes are measured against the old app.

Sources

  1. Jonathan Dann - Under the hood: Rebuilding Facebook for iOS (Facebook Engineering, August 23, 2012)
  2. Vivian Tran and Yixin Zhu - Engineering the Architecture Behind Uber's New Rider App (Uber Engineering, December 20, 2016)
  3. McLaren Stanley - thread on Uber's Swift rewrite (December 10, 2020, Thread Reader copy)
  4. Sonos - Sonos Unveils Completely Reimagined Sonos App (press release, April 23, 2024)
  5. Sonos Community - New SONOS app: many features no longer available! (customer thread, May 7, 2024)

Last updated November 29, 2026.