Can Titanium SDK Code Processor support incremental ES6 migration with zero downtime?
0 reputation · 14 Apr 2025, 10:16 UTC
Goal: incrementally migrate a small Titanium SDK application to ES2015+ or TypeScript without user-facing downtime, using the SDK's Code Processor to downlevel syntax during the native build.
Constraint: Code Processor availability and defaults depend on the installed Titanium SDK release and target runtime, such as iOS JavaScriptCore or Android V8, and older SDKs may omit it entirely. Transpilation covers syntax only and does not polyfill Titanium APIs. Because app-store distribution replaces the installed binary, existing users keep running the old build until they install the update; this is not live code switching. A transpile error in one file can fail the entire native package.
Which Titanium SDK releases include the Code Processor by default, and how does behavior differ between iOS JavaScriptCore and Android V8? Can migration proceed file-by-file without failing the whole package when one file contains unsupported syntax? Does app-store update latency prevent true zero-downtime migration for users who have not installed the new build?