overpush library

iOS release-mode OverPush: patch released Dart code without an App Store review.

Android works by a different mechanism entirely (the engine loads a replacement libapp.so), so nothing here applies to it — see docs/codepush.md. iOS cannot load native code that was not signed into the bundle, so a patch here is Dart bytecode, run by the VM's interpreter in the same isolate and heap as the AOT code around it.

An app wires none of this up itself. overpush release ios compiles the release from a generated entrypoint that calls OverPush.init. Nothing in lib/ mentions OverPush.

A patch is not written by hand and registers against nothing: overpush patch ios recompiles the app's own libraries, and the VM replaces the matching function bodies in place. Editing a build() and running that command is the whole workflow.

Classes

AndroidPatchChannel
The Dart half of the Android native bridge.
AndroidPatchResult
CodePushReporter
Reports patch state to the control plane.
IosPatchBootResult
IosPatchCheckResult
IosPatchLoader
Loads an iOS release-mode OverPush patch — a Dart bytecode module — into the running app, before the first frame.
OverPush
The one entry point an app needs.
OverPushChecking
A check with the server started.
OverPushDownloading
A patch is downloading.
OverPushEvent
What OverPush is doing, so an app can show it in its own UI.
OverPushFailed
The check or download did not complete: no network, or a patch that did not verify. Nothing changed on the device; the next check tries again.
OverPushPatchFound
A newer patch exists for this build and is about to download.
OverPushPatchReady
A patch downloaded and verified. It runs from the next time the app is opened (a cold start), not in this session.
OverPushProgress
The runtime's live download state.
OverPushRevoked
The running patch was pulled by the publisher. The next start runs the store build.
OverPushRuntimeConfig
Runtime configuration for the iOS OverPush path.
OverPushStatusStrip
A small strip that appears while a patch downloads, and disappears when it is done.
OverPushUpToDate
Nothing newer for this build.
PatchApplierRegistry
The applier for this process, or null when none was registered.
PatchManifest
The one description of an available patch, for both platforms.
RolloutBucket
A stable per-install number in [0, 100) used to decide whether this device is inside a patch's staged rollout.

Enums

AndroidPatchDecision
Outcome of one Android patch check.
IosPatchBootOutcome
What IosPatchLoader.bootstrap decided on this launch.
IosPatchDecision
Outcome of one iOS patch check.
OverPushActivity
What a patch download is doing right now, for an app that wants to show it.
OverPushUpdateStatus
What OverPush.update did.
PatchOutcome
What a device says happened to the patch it was offered.
PatchPlatform
Which build of an app a patch is for.
SignatureFailure
Why a manifest was rejected. Never thrown — the caller logs it and carries on with the unpatched app, because a failed verification must degrade to "no patch", never to "no app".