overpush

Ship Dart fixes to Flutter apps that are already on users' phones, on iOS and Android, without waiting for a store review.

Your app gets one file and one dependency line. No main.dart changes, no native code, no asset entries.

# overpush.yaml  (written by `overpush init`)
app_id: cp_7Kq9xZ2mWv4TnR8bL3sYd6HfJp1cXa5E
# pubspec.yaml
dependencies:
  overpush: ^1.0.0

Getting started

curl -fsSL https://cdn.overpush.in/install.sh | bash   # the overpush CLI
overpush login                  # once per computer, in the browser
overpush init                   # in your Flutter project
flutter pub add overpush
overpush release android        # or: overpush release ios
# ...ship it to the store, then change some Dart code...
overpush patch android          # or: overpush patch ios

On Windows (Android only), install with irm https://cdn.overpush.in/install.ps1 | iex.

What a patch can change

Dart: logic, bug fixes, widgets, text, colours, new screens and new classes. Native code, plugins with native parts, assets and permissions still need a store release, and the CLI tells you when a change is one of those.

Every patch is signed

Each patch is signed with your app's key, and the phone checks the signature before it uses the patch. A patch changed anywhere on the way is refused.

If a patch breaks something

A patch that crashes the app on startup is dropped on the phone by itself: the next start runs the code the app shipped with.

You can also pull one from every device:

overpush patches revoke 7 --reason "crash on the login screen"

Showing an update in your own UI

OverPush shows nothing on screen. Listen to its events and design your own:

OverPush.events.listen((event) {
  if (event is OverPushDownloading) print('downloading ${event.percent}%');
  if (event is OverPushPatchReady) print('ready, runs on the next start');
});

Events: OverPushChecking, OverPushPatchFound, OverPushDownloading, OverPushPatchReady, OverPushUpToDate, OverPushRevoked, OverPushFailed.

Coming from codepush

This package was called codepush. Swap the dependency and the import; the old CodePush* class names still compile. Patches already on phones keep working after the update.

Libraries

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