Menu

Self-hosted live updates for Capacitor with Codemagic Patch
📰

Self-hosted live updates for Capacitor with Codemagic Patch

DEV Community: mobile·C💙demagic·17 days ago
#8SO9JZVA
#devtomobile#devto#dev#capacitor#native
Reading 0:00
15s threshold

Codemagic Patch is a new self-hosted tool to ship live updates of HTML, CSS, and JavaScript to Capacitor, Ionic, and Cordova-on-Capacitor apps, without a new store binary.

Say a checkout button stops working on some Android 15 devices, and the fix turns out to be four lines of TypeScript. In a Capacitor app, those four lines live in the web layer, inside a WebView, nowhere near native code. Without over-the-air (OTA) updates, they still have to go the long way round: new binary, store submission, review, and then a slow trickle of users who eventually update. Some never do.

That's what OTA updates solve through tools such as Live Updates on Appflow, and what you can do with Patch.

Patch v0.6.0 ships with two new packages: @codemagic/capacitor-patch , the SDK that goes into your app, and @codemagic/capacitor-patch-cli , a command line made for publishing and managing Capacitor releases.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.