Self-host live updates for Capacitor with Codemagic Patch
Self-host live updates for your Capacitor apps with Codemagic Patch. Runs in a Compose stack on a basic machine, and includes a full team dashboard.
Codemagic Patch provides live updates for HTML, CSS, and JavaScript in Capacitor, Ionic, and Cordova-on-Capacitor apps, without needing a new store binary. This means that if a checkout button stops working on some Android 15 devices, those four lines of TypeScript in the web layer can be updated without going through the lengthy process of creating a new binary, submitting it to the store, and waiting for users to update.
This patch is now available for Capacitor apps through a self-hosted tool, with two new packages: @codemagic/capacitor-patch (the SDK) and @codemagic/capacitor-patch-cli (the command line for publishing and managing releases). The server, dashboard, and delivery protocol for patch are the same as for the React Native SDK. With Codemagic Patch, teams can run their own server, use the SDK in their app, publish the web build they already produce using the CLI, and monitor the impact of updates through the dashboard.
When shipping OTA updates, it's important to remember that the web bundle calls into native code, so every release should target a specific native app version.
Written by urgent.news from HackerNoon's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.