Skip to main content

codepush_cli 0.2.0 copy "codepush_cli: ^0.2.0" to clipboard
codepush_cli: ^0.2.0 copied to clipboard

Command line tool for CodePush: register an app, build a patchable release, and publish signed Dart patches to installed Android and iOS apps.

0.2.0 #

codepush login opens a browser instead of asking for a token to paste, and codepush init generates the signing key itself — skipping that step used to be unrecoverable, because the public key is compiled into every release. codepush --version exists. Engines are downloaded rather than built, so a machine that only publishes patches needs no engine checkout.

iOS releases worked only on the machine CodePush was developed on. Seven separate causes, each invisible there:

  • The generated iOS entrypoint imports codepush_ios, and nothing said to add it. release ios now refuses up front, and init mentions it for a project with an ios/ directory.
  • list_libraries and subtract_libraries were run as dart run <source>, which needs the Dart source tree and the dartdev snapshot. They are AOT snapshots in the engine tarball now.
  • The generated patch contract was read as its own base: a crash on a project that had never released, and on one that had, a contract that only ever grew.
  • gen_snapshot was shipped under that name; an iOS build asks for gen_snapshot_arm64. codepush doctor now checks the name the build resolves, not any of three.
  • iOS releases were never recorded with the server, so every patch ios ended at "No ios release for this app".
  • The iOS patch signer put 1.0.0+1 where the server verified 1.0.0, so every iOS patch was refused as a signature failure.

0.1.0 #

First release.

0
likes
0
points
446
downloads

Publisher

unverified uploader

Weekly Downloads

Command line tool for CodePush: register an app, build a patchable release, and publish signed Dart patches to installed Android and iOS apps.

Topics

#code-push #cli #deployment

License

unknown (license)

Dependencies

args, codepush_protocol, crypto, path, yaml

More

Packages that depend on codepush_cli