Skip to content
THE OTA MANUALOperations & release
Verifiedv0.1.0 ↗

Support matrix ​

ota-nativescript only claims support for runtime, bundler and platform combinations verified on real release builds.

Verified v0.1 baseline ​

AxisVerified in v0.1Evidence
NativeScript Core@nativescript/core 9.1.4Proven in release builds (#4–#13)
iOS Runtime@nativescript/ios 9.1.1 (Xcode 27.2, iOS 26.2 Simulator release)Proven 8/8 in #13
Android Runtime@nativescript/android 9.1.3 (Physical Xiaomi M2103K19PG, Android 16 / API 36, signed R8 minifyEnabled true release APK)Proven 8/8 in #13
BundlersWebpack 5 (@nativescript/webpack 5.0.43) & Vite 8 (@nativescript/vite 8.0.24 / Rolldown native ESM) production .mjs outputProven 8/8 on iOS & Android (#13, #15)
Reference App StacksWebpack 5: fixtures/vue-mavis-app (Vue 3 + Mavis + Jolt); Vite 8: fixtures/vite-app (Vue 3 + ESM + require(esm) + ns:util + Worker)Proven 8/8 on iOS & physical Android (#13, #15)
Android V8 cachingandroid.codeCache: true (per-release .cache isolation via files/app symlink); legacy V8 heap snapshots (libsnapshot.so) blocked in ota-ns packProven on physical Android 16 (#16)
Asset deduplicationContent-addressed (sha256 + size) local file reuse (APFS CoW on iOS; byte copy on Android) with full staging verification & HTTP fallbackProven on iOS (99.45%) & Android (99.41%) (#17)
CryptographyEd25519 + streaming SHA-256 (CryptoKit on iOS; Google Tink 1.15.0 on Android API 24+)Verified against RFC 8032 vectors (#7, #13)
Activation modelBackground streaming download with local reuse, 3-gate verification, atomic staging, activation on next cold launchProven over HTTP in #10, #13, #15, #17
Local recoveryLast confirmed OTA release and immutable embedded bundle, 100% offlineProven in #4, #5, #6, #13, #15
Store binary upgradesHigher build number or changed runtime contract resets OTA pointers and cleans obsolete releases/Proven in-place on iOS & Android in #9, #13, #15
Compatibility gatePer-platform 5-section runtime contract fingerprinting (ota-ns fingerprint / pack, incl. Android V8 snapshot & codeCache checks)Proven on real release builds in #11, #13, #16
Release CLI@getcortexlabs/ota-cli (keygen, fingerprint, pack, verify, serve with 9 modes)Proven end-to-end in #12, #13, #15, #16

Known platform & bundler notes uncovered during validation ​

  • Extensionless main: "bundle" in Webpack 5 and Vite .mjs output: NativeScript 9.1 writes "main": "bundle" in prepared app/package.json while emitting bundle.mjs. Both native bootstrappers and ota-ns pack normalize leading ./ and resolve main, ${main}.mjs, ${main}.js (and .cjs in pack). ota-ns pack also falls back to .ns-vite-build/<platform> when platforms/ is not prepared.
  • Android V8 heap snapshots vs codeCache (#16): Binary inspection of @nativescript/android 9.1.3 (libNativeScript.so) confirms V8 heap snapshot loading (libsnapshot.so / SetSnapshotDataBlob) was removed in NativeScript 7 (NativeScript/android#8926) and replaced by V8 codeCache (android.codeCache: true). Because files/app is switched per release via an atomic symlink, each OTA release gets isolated .cache files with zero cross-release bytecode clashes. ota-ns pack detects and refuses legacy snapshot artifacts/config by default.
  • iOS release console logging: CortexOtaMain.m mirrors upstream @nativescript/ios by setting config.LogToSystemConsole = false in Release builds (#ifndef DEBUG). Use structured files or remote telemetry (POST /events) rather than expecting JS console.log in iOS release console output.
  • npm 11 postinstall script blocking: npm 11 skips third-party postinstall hooks by default unless approved; verify hooks/after-prepare/ota-nativescript-config.mjs exists or run node node_modules/@getcortexlabs/ota-nativescript/hooks/postinstall.mjs . once.
  • Android R8 keep rules: Plugin Java sources compile into :app via include.gradle alongside the plugin's own proguard-rules.pro keeping com.getcortexlabs.ota.* (including copyFile and getEmbeddedAppPath) and Tink classes; app-level App_Resources/Android/proguard-rules.pro only needs standard com.tns.**, org.nativescript.**, androidx.** rules.

Explicitly out of scope ​

These capabilities are not supported and must not be assumed to work:

  • Legacy Android V8 heap snapshots (libsnapshot.so / TNSSnapshot.blob) — detected and refused during ota-ns pack unless --allow-snapshot is explicitly passed (#16)
  • Mid-session hot code swap without process restart
  • Automatic rollback of local SQLite schemas, ApplicationSettings or persisted data