Skip to main content

flutter_ota_cli 0.3.0-alpha copy "flutter_ota_cli: ^0.3.0-alpha" to clipboard
flutter_ota_cli: ^0.3.0-alpha copied to clipboard

PlatformLinux

Experimental developer CLI (command `flutter_ota`) for Flutter OTA System: builds Android arm64 store releases and signed feature patches locally. Linux x64 hosts only.

0.3.0-alpha #

Flutter 3.50.0 support next to Flutter 3.47.9. The default toolchain index is the toolchain-index.json asset of the v0.3.0-alpha GitHub release (both toolchains, signed with flutter-ota-toolchain-1).

  • Several Flutter toolchains side by side (Flutter 3.47.9 and 3.50.0):
    • patch android uses the toolchain of the store release;
    • toolchain install / upgrade pick the newest toolchain the project can build with;
    • doctor checks the Android build tool minimums of the pinned Flutter;
    • toolchain clean --unused keeps toolchains that local releases still need.
  • Raising Android build tool versions no longer blocks patches for releases made from this version on.
  • android/local.properties (build-machine paths) no longer blocks a patch, so patches can be built on another machine or with a different toolchain cache folder.

0.2.0-alpha.2 #

Text and display fixes found in the public v0.2.0-alpha validation (no behaviour change):

  • flutter_ota init lists the real next steps (it printed a leftover internal line).
  • flutter_ota config get/list show the built-in default toolchain index URL, and config list names the built-in trusted toolchain key.
  • flutter_ota status marks the channels of rolled-back or revoked patches as "(was) …" and keeps the columns aligned.
  • flutter_ota patch android labels the manifest patch id and prints the promote command with the server patch id.

0.2.0-alpha.1 #

  • Fix: dart pub global activate flutter_ota_cli failed to compile 0.2.0-alpha (dynamicModulesPackageFiles was defined in a file that is not published). A test now checks that published code never imports the owner-side toolchain builder.
  • Same toolchain as 0.2.0-alpha (the v0.2.0-alpha GitHub release).

0.2.0-alpha #

First release on pub.dev. Experimental alpha. The CLI runs on Linux x64 and builds Android arm64 apps with Flutter 3.47.9 and the Flutter OTA engine.

  • flutter_ota init, config, doctor: connect a Flutter project to a self-hosted Flutter OTA System server.
  • flutter_ota toolchain install | list | doctor | clean and flutter_ota upgrade:
    • download, verify and cache the pinned toolchain: the official Flutter SDK archive plus the signed Flutter OTA overlay;
    • the default index is a GitHub release asset of this version;
    • downloads resume after an interruption, and every file is checked against its SHA-256 in the ES256-signed index.
  • flutter_ota keys init: an offline root key and a certified signer key, kept on your machine.
  • flutter_ota release android: builds the store APK or AAB locally with the toolchain and registers the release.
    • It refuses a build without the OTA engine, checked by the ELF build ID.
    • It refuses a build with native libraries for ABIs other than arm64-v8a.
  • flutter_ota features, flutter_ota patch android: build, check, sign and upload a feature patch (Dart bytecode) locally.
  • flutter_ota status, flutter_ota rollback.
1
likes
160
points
207
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Experimental developer CLI (command `flutter_ota`) for Flutter OTA System: builds Android arm64 store releases and signed feature patches locally. Linux x64 hosts only.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#ota #code-push #over-the-air #self-hosted #cli

License

Apache-2.0 (license)

Dependencies

args, crypto, http, path, pointycastle, yaml

More

Packages that depend on flutter_ota_cli