Over-the-air update · mobile apps

On this page 7

An over-the-air update (OTA update) for mobile apps is the wireless delivery of a new app version or app content to an installed application, over Wi-Fi or a cellular network, without connecting the device to a computer. In mobile distribution, the term covers two related mechanisms: store-managed binary updates, where the App Store or Google Play replaces the installed package, and code push updates, where the app itself downloads a new JavaScript or asset bundle at runtime and applies it on the next launch.

Both mechanisms aim to shorten the gap between a fix and the user, but they differ sharply in what they may change, who reviews the change and how a failed update is reversed. Understanding that boundary is essential for any team shipping apps through public stores.

How over-the-air updates reach mobile apps

Every OTA update follows the same basic chain: a new artifact is built and signed, uploaded to a distribution server, announced to the device and then downloaded, verified and installed. The differences lie in which server holds the artifact and which component on the device performs the installation.

In a store-managed update, the developer uploads a new build (an AAB to Google Play Console or an IPA to App Store Connect), passes app review and releases it. The store client on the device then fetches the update, often as a delta patch that contains only the changed bytes, checks the code signature against the original publisher and swaps the installed package. On Android, the signing key must match the installed app, which Play App Signing manages on the server side.

In a code push update, the native shell of the app stays unchanged. At launch or in the background, a small update client inside the app queries an update server, downloads a new interpreted bundle (for example, the JavaScript of a React Native app), verifies a hash or signature and stores it beside the embedded bundle. The new bundle usually takes effect on the next cold start, so the running session is not disrupted.

The following table summarizes the main stages and what each one protects against.

StageWhat happensMain safeguard
Build and signArtifact is compiled and signedPublisher key proves origin
PublishArtifact is uploaded and releasedStore review or release approval
DiscoverDevice learns a new version existsVersion and compatibility checks
DownloadFull package or delta is transferredTLS transport and hash check
ApplyPackage or bundle replaces the old oneSignature check and rollback copy
Stages of an over-the-air update

Store updates compared with code push

The decisive difference is that store updates can change anything, including native code, permissions and the app icon, whereas code push can change only interpreted code and assets that run inside the existing native runtime. A new camera permission or a new native SDK always requires a full store release.

Platform policies draw this line explicitly. Apple’s App Review Guidelines forbid apps from downloading code that changes features or functionality, with a narrow allowance for interpreted code that runs in WebKit or JavaScriptCore and does not alter the primary purpose of the app. Google Play’s Device and Network Abuse policy prohibits an app from updating itself outside the Google Play update mechanism and from loading executable native or Dalvik code from other sources, while JavaScript running in a WebView or interpreter remains permitted.

The table below contrasts the two mechanisms across the properties that usually drive the choice.

PropertyStore-managed updateCode push update
Scope of changeNative code, assets, manifestInterpreted code and assets only
ReviewStore review for each versionNo per-update store review
Time to usersHours to days, plus adoption lagMinutes after the next launch
Adoption controlPhased release, staged rolloutChannels, percentages, targeting
RollbackShip a newer versionRevert to a previous bundle
Policy riskLow when guidelines are metHigh if functionality changes
Store-managed updates versus code push updates

Code push is therefore a complement to store releases, not a replacement. Teams typically use it for urgent fixes in business logic, copy corrections and configuration, while every feature that changes user-facing behavior goes through review.

Update modes and adoption controls

Mobile platforms offer several ways to control when and how users receive an update. Automatic updates install new versions silently, usually when the device is charging and on Wi-Fi, so a large share of active users moves to a new version within about one to two weeks, though the exact curve varies by market and audience.

When older versions must disappear faster, developers add in-app update prompts or a minimum supported version check. Google Play offers an in-app updates API with a flexible flow that downloads in the background and an immediate flow that blocks the app until the update is installed. Apple’s phased release spreads an automatic update over seven days, and Google Play’s staged rollout lets the developer choose the percentage of users manually.

ModeUser experienceTypical use
Automatic store updateSilent, no interactionRoutine releases
Flexible in-app updateOptional prompt, background downloadRecommended but not urgent fixes
Immediate in-app updateFull-screen, blocking flowCritical security or data fixes
Forced minimum versionApp refuses to run until updatedBreaking backend API changes
Code push on next launchInvisible, applied at cold startUrgent logic or content fixes
Common update modes and when to use them

Designing a reliable OTA update pipeline

A reliable pipeline treats every update as a reversible, observable change. For store releases, that means staged rollout with monitoring: release to a small percentage, watch crash-free sessions and key metrics, then expand or halt. Halting a rollout stops new installations but does not remove the version from devices that already received it.

For code push, the essential safeguards are binary compatibility targeting and automatic rollback. Each bundle must declare the native runtime version it requires, because a bundle that calls a native module missing from an older shell will crash. A well-designed client keeps the last known good bundle and reverts to it when the new one fails to report a successful start.

  • Sign bundles with a key held outside the update server, so a compromised server cannot push malicious code.
  • Use release channels such as production, staging and beta to separate audiences.
  • Respect metered connections and defer large downloads to Wi-Fi when possible.
  • Log the active bundle identifier with every crash report to correlate failures with updates.

Limitations, risks and common mistakes

The largest risk of OTA delivery is that a bad update reaches many devices quickly. Store updates cannot be recalled once installed, and a defective code push can break startup for every user on the channel. Security is the second concern: an update channel is a privileged path for code execution, so weak transport security or unsigned bundles expose users to tampering.

The following table lists frequent mistakes, their symptoms and the usual fix.

MistakeSymptomFix
Bundle targets wrong runtimeCrash at launch on older shellsPin bundles to runtime versions
Feature shipped via code pushStore rejection or app removalRelease new features through review
No staged rolloutDefect reaches all users at onceStart at 1 to 5 percent
Unsigned bundlesPossible code injectionVerify signatures on the device
No minimum version checkOld clients break after API changeEnforce a supported version floor
Frequent OTA update mistakes

A common misconception is that code push bypasses app review entirely. In practice, the reviewed binary defines the permitted envelope, and any update that meaningfully changes the app’s purpose can lead to rejection of future versions or removal from the store.

A non-technical view

An over-the-air update is how an app on a phone gets improved without any cable or visit to a shop. The new version arrives through the internet, much like a newspaper delivered to the door instead of collected from a kiosk.

There are two delivery routes. The app store can replace the whole app, which is slower but can change everything. Some apps can also fetch small corrections by themselves, which is fast but only allowed for limited changes. The key idea is speed balanced against safety: updates should arrive quickly, yet a broken one must be easy to undo.

A concrete example

A regional public transport operator runs a React Native ticketing app with about 400,000 monthly users. On a Friday evening, the team discovers that a fare calculation in the JavaScript layer charges a weekend discount on weekdays. A full store release would need review and several days of adoption, so the team publishes a corrected bundle through code push to the production channel, first to 10 percent of users and, after an hour without new errors, to everyone.

Because the fix touches only interpreted logic, it stays within platform rules. By Saturday morning, more than 90 percent of active users run the corrected bundle. The following week, the team includes the same fix in a regular store release with a seven-day phased release, so the embedded bundle and the pushed bundle match again.