Upload an OtaKit bundle
upload_bundlePackage and upload a selected local web build to OtaKit using the existing zip/delta, native metadata, version, and encryption workflow without publishing it.
Instructions
Package and upload the selected local web build using the existing zip/delta, native metadata, version, and encryption workflow without publishing it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | No | OtaKit app ID. Optional on a local connection whose project configures one; required otherwise. | |
| encrypt | No | Require encryption with OTAKIT_ENCRYPTION_KEY and fail if it is not set; bundles are encrypted whenever that variable is set | |
| version | No | Bundle version; defaults to OTAKIT_VERSION, then a generated one | |
| strategy | No | zip uploads one archive; deltas uploads files separately so devices download only changed ones. Defaults to the project's updateStrategy, then zip | |
| sourcePath | No | Built web assets directory in the project; defaults to Capacitor's webDir | |
| versionMode | No | strict requires version or OTAKIT_VERSION; auto (default) generates a version when neither is set | |
| runtimeVersion | No | Native runtime lane, or null for the default runtime | |
| nodeModulesPath | No | node_modules holding those dependencies; defaults to the one beside package.json | |
| packageJsonPath | No | package.json that declares the app's native dependencies; defaults to the project root's |