resource-file
Write the resource file into a debug, simulator or local build with hotcodepush resource-file write, without registering a binary or uploading anything.
hotcodepush resource-file write is the build step of every build that is no store build, run by the SDK package's Xcode phase or Gradle task.
Nobody types it: it writes the resource file the SDK reads at start and leaves no binary behind, while binary create is the store build's step.
write
The build step of every build that is no store build: writes the resource file the SDK reads, listing the embedded bundle, and creates no binary. Without a token, offline or with an API that cannot be reached, the channel name stays unresolved and one warning says so, in CI too.
HOTCODEPUSH_CHANNEL names the channel for a build flavour.
| Option | Type | Description |
|---|---|---|
--embedded-bundle-path <dir> | string | The directory of the embedded bundle, the files the build puts into the app. Defaults to the framework's build output. |
--platform <platform> | android | ios | The platform being built, ios or android. |
--resource-file-path <file> | string | Where the resource file goes, in the app the build makes. |
hotcodepush resource-file write --platform ios --embedded-bundle-path build/App.app/public --resource-file-path build/App.app/hotcodepush.json
hotcodepush resource-file write --platform android --embedded-bundle-path build/assets/public --resource-file-path build/assets/hotcodepush.json --jsonLast updated on
release
Create, update, pause, resume, revoke, roll out and roll back releases with hotcodepush release, including conditions, dry runs and progression.
signing-key
Generate a key pair, add an existing key, list fingerprints, show a public key and remove a key after rotation with hotcodepush signing-key.