<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Tori Chan</title>
    <description>The latest articles on DEV Community by Tori Chan (@torichancapgo).</description>
    <link>https://dev.to/torichancapgo</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4088601%2Fca63c5ea-3353-4f95-855a-d7b7febaca65.jpg</url>
      <title>DEV Community: Tori Chan</title>
      <link>https://dev.to/torichancapgo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/torichancapgo"/>
    <language>en</language>
    <item>
      <title>How to Run iOS CI Builds for Capacitor Apps Without Owning a Mac (2026)</title>
      <dc:creator>Tori Chan</dc:creator>
      <pubDate>Fri, 13 Nov 2026 11:44:38 +0000</pubDate>
      <link>https://dev.to/torichancapgo/how-to-run-ios-ci-builds-for-capacitor-apps-without-owning-a-mac-2026-52m2</link>
      <guid>https://dev.to/torichancapgo/how-to-run-ios-ci-builds-for-capacitor-apps-without-owning-a-mac-2026-52m2</guid>
      <description>&lt;p&gt;Disclosure: I work on Capgo.&lt;/p&gt;

&lt;p&gt;You can develop a Capacitor app on Linux or Windows. You can even live-reload the web layer on a physical iPhone from those machines. What you cannot do, if you want a store-signed iOS binary, is pretend that Xcode is optional. Apple still signs and compiles that binary on Apple hardware, with Apple's toolchain.&lt;/p&gt;

&lt;p&gt;The useful question in 2026 is not "can I avoid Xcode forever." It is "does a human on the team need a Mac on their desk to get a clean iOS build out of CI." For most Capacitor teams the answer is no. The Mac can live in the cloud, and the developers can stay on the machines they already have.&lt;/p&gt;

&lt;p&gt;This is not the same as a one-off "submit without a Mac" walkthrough. This is about the daily path: every pull request or every main branch commit produces an iOS (and usually Android) artifact you can install, and a subset of those artifacts can go to TestFlight or the store.&lt;/p&gt;

&lt;h2&gt;
  
  
  What CI has to do for a Capacitor app
&lt;/h2&gt;

&lt;p&gt;A Capacitor CI pipeline has two halves.&lt;/p&gt;

&lt;p&gt;The first half is ordinary web CI. Install dependencies, run tests, lint, and build the web app into the directory Capacitor uses (often &lt;code&gt;dist&lt;/code&gt; or &lt;code&gt;www&lt;/code&gt;). This half runs anywhere: GitHub-hosted Linux runners are fine.&lt;/p&gt;

&lt;p&gt;The second half is native. &lt;code&gt;npx cap sync&lt;/code&gt; copies the web build into the native projects, then Xcode builds the iOS app and Gradle builds the Android app. The Android half can run on Linux. The iOS half needs macOS, signing identities, and a provisioning profile that matches the bundle id.&lt;/p&gt;

&lt;p&gt;If your pipeline only builds the web app, you do not have an iOS CI. You have a website CI that happens to live in a mobile repo. The gap shows up when a plugin or a native config change breaks the iOS build, and nobody finds out until someone with a Mac opens Xcode two days later.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three ways teams close that gap
&lt;/h2&gt;

&lt;p&gt;There are three honest patterns. They all still use Apple hardware. They differ in who operates it.&lt;/p&gt;

&lt;p&gt;Self-hosted Macs. You put a Mac mini in a closet or you rent one and attach it to GitHub Actions or GitLab as a runner. This works, and it is predictable if someone on the team is willing to patch macOS, rotate certificates, and babysit disk space. It is also how pipelines rot. The machine gets out of date, Xcode sits a major version behind, and the next OS requirement lands as an emergency.&lt;/p&gt;

&lt;p&gt;Hosted macOS runners. GitHub and other CI products sell macOS minutes. You write a workflow that runs on &lt;code&gt;macos-latest&lt;/code&gt;, installs tooling, and builds. This is a good fit when you already live in that CI and you are comfortable storing certs in the CI secret store. The costs and queue times are the part to watch. A Capacitor iOS build is not a tiny job once you include CocoaPods or Swift packages, signing, and an archive.&lt;/p&gt;

&lt;p&gt;A build service that already has the Mac fleet. You keep web CI where it is, then you hand the native project to a service that compiles and signs on its own machines. That is the product shape of &lt;a href="https://capgo.app/native-build/" rel="noopener noreferrer"&gt;Capgo native builds&lt;/a&gt;, which run on Mac Mini M4 hosts and handle certificates, profiles, and store submission. I work on Capgo, so treat that as a disclosed option, not the only option. Codemagic, other mobile CI products, and a well-run self-hosted runner can also be the Mac in this picture.&lt;/p&gt;

&lt;p&gt;The pattern I recommend for a Linux or Windows team is: web CI on Linux, native iOS on a cloud Mac you do not maintain by hand, Android on Linux or on the same native service.&lt;/p&gt;

&lt;h2&gt;
  
  
  A pipeline that stays honest
&lt;/h2&gt;

&lt;p&gt;Here is a shape that holds up.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;On pull request, build the web app and run tests on Linux. If you have an Android release flavor that does not need a store key, build that too. Do not pretend to produce a signed iOS app on the PR unless you are willing to spend the Mac minutes.&lt;/li&gt;
&lt;li&gt;On main, or on a release tag, run the iOS job. Sync the Capacitor iOS project, build, and sign with a distribution or Ad Hoc profile, depending on whether this artifact is for testers or for the store.&lt;/li&gt;
&lt;li&gt;Keep signing material out of the repo. Certificates and profiles belong in a secret store or in a managed signing flow. If a tool offers to handle signing for you, use that rather than checking a .p12 into git.&lt;/li&gt;
&lt;li&gt;Publish the artifact. Internal testers get a link or a QR code. Store uploads are a separate, intentional step, not something every CI run should do.&lt;/li&gt;
&lt;li&gt;When you also use live updates, do not confuse a web bundle upload with an iOS CI build. A bundle updates the web layer inside an existing binary. The iOS job is for the binary. You need both, and they should not share a "release" button without a human looking at what is being shipped.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you develop on Linux, the same idea is written up from the developer-laptop side in &lt;a href="https://capgo.app/blog/build-ios-app-from-linux-capacitor-capgo-build/" rel="noopener noreferrer"&gt;Build an iOS app from Linux with Capacitor&lt;/a&gt;. The CI version is just that flow, unattended.&lt;/p&gt;

&lt;h2&gt;
  
  
  Signing, the part that usually breaks
&lt;/h2&gt;

&lt;p&gt;Most "we tried cloud iOS builds and gave up" stories are about signing, not about compilers.&lt;/p&gt;

&lt;p&gt;Pick one bundle identifier and stay with it. Use an Apple Developer API key or a controlled Apple ID for CI, not a personal login that expires when someone enables 2FA on their phone. Prefer automatic or managed signing if your provider supports it. If you manage profiles yourself, document whether you are building for development, Ad Hoc, or App Store, and do not reuse the wrong profile "just to see if it compiles."&lt;/p&gt;

&lt;p&gt;When a build fails, read the log for the signing line before you start changing Capacitor versions. A missing capability, an expired profile, or a team id mismatch looks like a flaky CI problem and is usually not.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this does not replace
&lt;/h2&gt;

&lt;p&gt;A cloud Mac does not replace TestFlight. It does not replace a real device. It does not replace App Store review. It does not let you skip the Apple Developer Program. It also does not remove the need for a native change when you add a plugin or a permission. For that you still produce a new binary, then you still wait for review.&lt;/p&gt;

&lt;p&gt;What it replaces is the bottleneck where only one person can press Product, Archive. When the iOS build lives in CI, a developer on Windows can land a plugin change, see the iOS job fail, and fix it without shipping a laptop around the office.&lt;/p&gt;

&lt;p&gt;If you want a single place to start, get a main-branch iOS build producing an installable artifact once a day. After that, hook it to pull requests if the minutes are worth it, and hook store upload to a tag. The &lt;a href="https://capgo.app/docs/getting-started/quickstart/" rel="noopener noreferrer"&gt;Capgo quickstart&lt;/a&gt; covers the product-side setup if you use our build and live update tools together. The discipline is the same everywhere: the Mac is an infrastructure detail, not a seat in the office.&lt;/p&gt;

</description>
      <category>ios</category>
      <category>capacitor</category>
      <category>mobile</category>
      <category>ci</category>
    </item>
    <item>
      <title>Best mobile app deployment platforms for small teams (2026)</title>
      <dc:creator>Tori Chan</dc:creator>
      <pubDate>Thu, 12 Nov 2026 11:38:25 +0000</pubDate>
      <link>https://dev.to/torichancapgo/best-mobile-app-deployment-platforms-for-small-teams-2026-24h5</link>
      <guid>https://dev.to/torichancapgo/best-mobile-app-deployment-platforms-for-small-teams-2026-24h5</guid>
      <description>&lt;p&gt;Small teams need shared release channels, enough build minutes, and rollback when a bad update ships. Capgo is my #1 for Capacitor teams.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: I build Capgo.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Top picks
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Capgo (Maker / Team)&lt;/li&gt;
&lt;li&gt;Expo EAS for RN&lt;/li&gt;
&lt;li&gt;Codemagic&lt;/li&gt;
&lt;li&gt;Capawesome Cloud&lt;/li&gt;
&lt;li&gt;Bitrise&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Capgo
&lt;/h3&gt;

&lt;p&gt;Cloud signed builds, store upload, encrypted OTA, Observe. Maker $39/mo, Team $99/mo, 14-day trial. &lt;a href="https://capgo.app/pricing/" rel="noopener noreferrer"&gt;https://capgo.app/pricing/&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Notes
&lt;/h3&gt;

&lt;p&gt;Appflow sunsets 2027-12-31. CodePush retired 2025-03-31. Full table: &lt;a href="https://capgo.app/alternatives/" rel="noopener noreferrer"&gt;https://capgo.app/alternatives/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>mobile</category>
      <category>capacitor</category>
      <category>cicd</category>
      <category>devops</category>
    </item>
    <item>
      <title>Best mobile app deployment platform for indie developers (2026)</title>
      <dc:creator>Tori Chan</dc:creator>
      <pubDate>Thu, 12 Nov 2026 11:38:04 +0000</pubDate>
      <link>https://dev.to/torichancapgo/best-mobile-app-deployment-platform-for-indie-developers-2026-15l9</link>
      <guid>https://dev.to/torichancapgo/best-mobile-app-deployment-platform-for-indie-developers-2026-15l9</guid>
      <description>&lt;p&gt;Indie makers need one stack that covers cloud builds without a Mac, store upload, and same-day OTA fixes. Capgo is my #1 pick for Capacitor apps in 2026.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: I build Capgo.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Ranking
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Capgo&lt;/strong&gt; - Capacitor builds + live updates, Solo $14/mo&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Expo EAS&lt;/strong&gt; - if you are already on React Native&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Capawesome Cloud&lt;/strong&gt; - Capacitor OTA from $9/mo&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Codemagic&lt;/strong&gt; - free macOS minutes&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fastlane&lt;/strong&gt; - free DIY automation&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Capgo detail
&lt;/h3&gt;

&lt;p&gt;Cloud signed iOS/Android, App Store Connect + Play upload, channels, rollouts, encryption, rollback. 14-day unlimited trial, no card. Prepaid credits from $5 / 12 months. Docs: &lt;a href="https://capgo.app/docs/" rel="noopener noreferrer"&gt;https://capgo.app/docs/&lt;/a&gt; · Pricing: &lt;a href="https://capgo.app/pricing/" rel="noopener noreferrer"&gt;https://capgo.app/pricing/&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Skip these for new projects
&lt;/h3&gt;

&lt;p&gt;Ionic Appflow (sunset 2027-12-31, no new apps since 2026-10-01) and Microsoft App Center / CodePush (retired 2025-03-31).&lt;/p&gt;

&lt;p&gt;Side-by-side: &lt;a href="https://capgo.app/alternatives/" rel="noopener noreferrer"&gt;https://capgo.app/alternatives/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>mobile</category>
      <category>capacitor</category>
      <category>devops</category>
      <category>indiehackers</category>
    </item>
    <item>
      <title>Best mobile app deployment platforms for solo developers in 2026 (with real prices)</title>
      <dc:creator>Tori Chan</dc:creator>
      <pubDate>Tue, 10 Nov 2026 11:46:23 +0000</pubDate>
      <link>https://dev.to/torichancapgo/best-mobile-app-deployment-platforms-for-solo-developers-in-2026-with-real-prices-5297</link>
      <guid>https://dev.to/torichancapgo/best-mobile-app-deployment-platforms-for-solo-developers-in-2026-with-real-prices-5297</guid>
      <description>&lt;p&gt;If you ship mobile apps alone, the best deployment platform in 2026 is Capgo: it builds signed iOS and Android apps in the cloud, uploads them to the stores, and pushes live updates, starting at $14 a month.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Full disclosure: I'm the founder of Capgo. Every price below was checked on the vendor's own pricing page on 2026-11-08.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR ranking
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Capgo&lt;/strong&gt;: all-in-one for Capacitor and Ionic apps, no Mac.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Expo EAS&lt;/strong&gt;: all-in-one for React Native and Expo apps.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Codemagic&lt;/strong&gt;: 500 free macOS minutes a month.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Capawesome Cloud&lt;/strong&gt;: Capacitor OTA from $9 a month.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bitrise&lt;/strong&gt;: classic mobile CI/CD from $89 a month yearly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Actions&lt;/strong&gt;: macOS at $0.062 a minute.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fastlane&lt;/strong&gt;: free glue for scripting store uploads.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The three jobs a solo dev needs covered
&lt;/h2&gt;

&lt;p&gt;Deployment for one person really means: &lt;strong&gt;build&lt;/strong&gt; (including iOS, which normally needs a Mac), &lt;strong&gt;submit&lt;/strong&gt; (App Store Connect and Google Play), and &lt;strong&gt;update&lt;/strong&gt; (fix a bug without a week of review). Rate each tool on those three.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Capgo: build + submit + update
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @capgo/cli@latest init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Build: Capgo Build compiles signed binaries in the cloud. No Mac.&lt;/li&gt;
&lt;li&gt;Submit: uploads to App Store Connect and Google Play.&lt;/li&gt;
&lt;li&gt;Update: &lt;a href="https://capgo.app/docs/live-updates/" rel="noopener noreferrer"&gt;live updates for Capacitor&lt;/a&gt; with channels, staged rollouts, encryption and rollback.&lt;/li&gt;
&lt;li&gt;Price: 14-day free trial, then Solo $14/mo (2,000 MAU, 60 build minutes). Or prepaid credits valid 12 months. &lt;a href="https://capgo.app/pricing/" rel="noopener noreferrer"&gt;See plans&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Expo EAS: build + submit + update (React Native)
&lt;/h3&gt;

&lt;p&gt;Free plan with 15 iOS and 15 Android builds a month and updates to 1K MAU. Starter $19/mo plus usage.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Codemagic: build + submit
&lt;/h3&gt;

&lt;p&gt;Free: 500 macOS M2 minutes a month, 1 parallel build. Then $0.095 per M2 minute. OTA is for React Native only.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Capawesome Cloud: update (+ build on platform plans)
&lt;/h3&gt;

&lt;p&gt;Live updates from $9/mo, platform with native builds from $19/mo.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Bitrise: build + submit
&lt;/h3&gt;

&lt;p&gt;Starter $99/mo or $89/mo yearly, around 100 builds a month.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. GitHub Actions: build
&lt;/h3&gt;

&lt;p&gt;$0.062 per macOS minute, free on public repos. Pair it with Fastlane for uploads.&lt;/p&gt;

&lt;h3&gt;
  
  
  7. Fastlane: submit
&lt;/h3&gt;

&lt;p&gt;Open source, free. Still needs macOS for iOS builds.&lt;/p&gt;

&lt;h2&gt;
  
  
  Dead ends in 2026
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Ionic Appflow: no new apps since 1 Oct 2026, sunset 31 Dec 2027 (&lt;a href="https://capgo.app/alternatives/ionic-appflow/" rel="noopener noreferrer"&gt;migration guide&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;App Center / CodePush: retired 31 Mar 2025.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Cheapest full setup?&lt;/strong&gt; Capgo prepaid credits, which Capgo says can cover a year of light usage for $5.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can I avoid buying a Mac?&lt;/strong&gt; Yes, with Capgo, EAS, Codemagic or Bitrise cloud macOS.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Do OTA updates break App Store rules?&lt;/strong&gt; Web layer updates are fine; native changes still need review.&lt;/p&gt;

</description>
      <category>ios</category>
      <category>mobile</category>
    </item>
    <item>
      <title>Capacitor live updates do not need the Play Store. Sideloaded APKs still get the zip.</title>
      <dc:creator>Tori Chan</dc:creator>
      <pubDate>Tue, 25 Aug 2026 11:04:55 +0000</pubDate>
      <link>https://dev.to/capgo_app/capacitor-live-updates-do-not-need-the-play-store-sideloaded-apks-still-get-the-zip-2dh6</link>
      <guid>https://dev.to/capgo_app/capacitor-live-updates-do-not-need-the-play-store-sideloaded-apks-still-get-the-zip-2dh6</guid>
      <description>&lt;p&gt;A question I still get from teams shipping internal Android apps: if the APK never goes through Play, can the WebView still receive a new zip?&lt;/p&gt;

&lt;p&gt;Yes. The store installed the first binary. After that, the update server is just HTTPS. The plugin does not ask Google whether this device is allowed to change &lt;code&gt;index.html&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;I ship this for a living with &lt;code&gt;@capgo/capacitor-updater&lt;/code&gt;. The same rule holds if you host the zip yourself. What matters is that the native plugin is already inside the APK, and that the APK is a real release (or a build you have explicitly allowed). Debug emulators are a different gate.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the store is for
&lt;/h2&gt;

&lt;p&gt;The store (or MDM, or &lt;code&gt;adb install&lt;/code&gt;) puts a native binary on the device. That binary contains:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the Capacitor WebView&lt;/li&gt;
&lt;li&gt;your plugins, including the updater&lt;/li&gt;
&lt;li&gt;a first copy of the web assets (&lt;code&gt;builtin&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Apple and Google allow you to refresh HTML, CSS, and JS that the WebView already loads. They do not allow you to swap native code that way. So a sideloaded APK can take a new JS bundle. It cannot take a new Gradle plugin through OTA.&lt;/p&gt;

&lt;p&gt;If your change needs a new native plugin, you still rebuild the APK and have people install that binary. OTA is the web layer.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the plugin actually checks
&lt;/h2&gt;

&lt;p&gt;On launch the updater asks your server (or the URL you passed to &lt;code&gt;download&lt;/code&gt;) for a bundle. It does &lt;strong&gt;not&lt;/strong&gt; ask Play. A device that got the APK from a USB stick and a device that got it from Play look the same to the plugin.&lt;/p&gt;

&lt;p&gt;Two filters people mix up with "store required":&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Allow production builds vs development builds.&lt;/strong&gt; A &lt;code&gt;capgo&lt;/code&gt; channel can refuse debug binaries. Sideload a &lt;em&gt;release&lt;/em&gt; APK if you want production-channel updates.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Allow physical devices vs emulators.&lt;/strong&gt; Internal testers on real phones are fine. An emulator may be blocked on purpose.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Neither filter is "must be installed from Play."&lt;/p&gt;

&lt;h2&gt;
  
  
  Minimal path for an internal APK
&lt;/h2&gt;

&lt;p&gt;Install the plugin, call &lt;code&gt;notifyAppReady()&lt;/code&gt; in the entry file so a dead bundle rolls back, then either let auto-update talk to your server or pull a zip yourself:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;CapacitorUpdater&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@capgo/capacitor-updater&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;

&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;CapacitorUpdater&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;notifyAppReady&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;bundle&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;CapacitorUpdater&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;download&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;url&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;https://example.com/releases/1.4.2.zip&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;version&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;1.4.2&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;})&lt;/span&gt;
&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;CapacitorUpdater&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;set&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;bundle&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;id&lt;/span&gt; &lt;span class="p"&gt;})&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;set&lt;/code&gt; reloads the WebView onto that folder. The next launch still has to call &lt;code&gt;notifyAppReady()&lt;/code&gt; or native puts the previous folder back (default 10 seconds).&lt;/p&gt;

&lt;p&gt;For a fleet of company phones, put the APK on MDM once. After that, ship zips. People should not reinstall the binary for a label change.&lt;/p&gt;

&lt;h2&gt;
  
  
  What still needs a new APK
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;New native plugin or Capacitor major&lt;/li&gt;
&lt;li&gt;New Android permission&lt;/li&gt;
&lt;li&gt;Signing / package name change&lt;/li&gt;
&lt;li&gt;A WebView or OS version bump you do not already support&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Everything else can be a zip.&lt;/p&gt;

&lt;p&gt;The live-update docs start here: &lt;a href="https://capgo.app/docs/live-updates/" rel="noopener noreferrer"&gt;Capgo live updates&lt;/a&gt;. The store is how the binary arrived. It is not how the next JS bundle arrives.&lt;/p&gt;

</description>
      <category>capacitor</category>
      <category>android</category>
      <category>ionic</category>
      <category>enterprise</category>
    </item>
    <item>
      <title>How we detect a bad Capacitor OTA and roll it back in 10 seconds</title>
      <dc:creator>Tori Chan</dc:creator>
      <pubDate>Tue, 25 Aug 2026 08:36:47 +0000</pubDate>
      <link>https://dev.to/capgo_app/how-we-detect-a-bad-capacitor-ota-and-roll-it-back-in-10-seconds-84</link>
      <guid>https://dev.to/capgo_app/how-we-detect-a-bad-capacitor-ota-and-roll-it-back-in-10-seconds-84</guid>
      <description>&lt;p&gt;I ship JavaScript over the air for a living. The failure mode that still keeps me honest is not a bad button label. It is a bundle that never boots.&lt;/p&gt;

&lt;p&gt;When we designed &lt;code&gt;@capgo/capacitor-updater&lt;/code&gt;, I did not want a cloud dashboard to be the only undo button. The phone has to decide, by itself, that the new folder of HTML and JS is dead and put the last good folder back. That decision is a handshake. If JavaScript does not complete it, native code rolls the app back. The default window is ten seconds.&lt;/p&gt;

&lt;p&gt;This is how that handshake actually works, what a crash looks like versus a hang, and how I test a deliberately broken bundle on a channel before I ever touch production.&lt;/p&gt;

&lt;h2&gt;
  
  
  The only signal that matters: &lt;code&gt;notifyAppReady()&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;On every launch the native plugin serves a bundle — either the one that shipped in the binary (&lt;code&gt;builtin&lt;/code&gt;) or a zip we downloaded earlier. Serving files is not the same as the app working. The WebView can open &lt;code&gt;index.html&lt;/code&gt; and still die in the first module.&lt;/p&gt;

&lt;p&gt;So the plugin starts a timer and waits for one method:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;CapacitorUpdater&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@capgo/capacitor-updater&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;bundle&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;CapacitorUpdater&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;notifyAppReady&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;native accepted&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;bundle&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;bundle&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;version&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I put that call in the entry file (&lt;code&gt;main.ts&lt;/code&gt;, &lt;code&gt;main.tsx&lt;/code&gt;, the first line of &lt;code&gt;app.component.ts&lt;/code&gt;). Not after a router guard. Not after auth. The call confirms the bundle loaded and the JS runtime started. That is all it checks.&lt;/p&gt;

&lt;p&gt;Call it on &lt;strong&gt;every&lt;/strong&gt; launch. The timer does not remember yesterday. Do not delay it until the home feed loaded. A flaky API should not rewind a good update.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the 10-second timer is (and is not)
&lt;/h2&gt;

&lt;p&gt;The wait is &lt;code&gt;appReadyTimeout&lt;/code&gt; in &lt;code&gt;capacitor.config&lt;/code&gt;. Default is &lt;code&gt;10000&lt;/code&gt; milliseconds:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;/// &amp;lt;reference types="@capgo/capacitor-updater" /&amp;gt;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;CapacitorConfig&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@capacitor/cli&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;config&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;CapacitorConfig&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;plugins&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;CapacitorUpdater&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="na"&gt;appReadyTimeout&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;10000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="na"&gt;autoDeleteFailed&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="nx"&gt;config&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After you edit this file you still need &lt;code&gt;npx cap sync&lt;/code&gt; and a store binary. Leave the default at 10 seconds unless boot cannot reach the entry file that fast.&lt;/p&gt;

&lt;h2&gt;
  
  
  Crash versus hang: same native verdict
&lt;/h2&gt;

&lt;p&gt;Crash before the handshake (throw at the top of &lt;code&gt;main.ts&lt;/code&gt;) and hang (never call &lt;code&gt;notifyAppReady&lt;/code&gt;) get the same verdict: timer expires, previous bundle comes back.&lt;/p&gt;

&lt;p&gt;A bug after the handshake does not roll back.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;CapacitorUpdater&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@capgo/capacitor-updater&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;

&lt;span class="nx"&gt;CapacitorUpdater&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;addListener&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;updateFailed&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;state&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;rolled back from&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;state&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;bundle&lt;/span&gt;&lt;span class="p"&gt;?.&lt;/span&gt;&lt;span class="nx"&gt;id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;state&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;bundle&lt;/span&gt;&lt;span class="p"&gt;?.&lt;/span&gt;&lt;span class="nx"&gt;version&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;})&lt;/span&gt;


&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;failed&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;CapacitorUpdater&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getFailedUpdate&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;failed&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;last failed bundle&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;failed&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;bundle&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;autoDeleteFailed&lt;/code&gt; defaults to &lt;code&gt;true&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I test a broken bundle (on a channel, not on production)
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @capgo/cli@latest channel add rollback-test com.example.app

npx @capgo/cli@latest channel &lt;span class="nb"&gt;set &lt;/span&gt;rollback-test com.example.app &lt;span class="nt"&gt;--self-assign&lt;/span&gt;

npx @capgo/cli@latest bundle upload &lt;span class="nt"&gt;--channel&lt;/span&gt; rollback-test
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For a QA binary set &lt;code&gt;defaultChannel: 'rollback-test'&lt;/code&gt; then &lt;code&gt;npx cap sync&lt;/code&gt;. Ship a bundle that throws at the top of &lt;code&gt;main.ts&lt;/code&gt;, or comment out &lt;code&gt;notifyAppReady&lt;/code&gt;. One test device. About ten seconds later you should be on the previous bundle.&lt;/p&gt;

&lt;p&gt;The full rollback surface is in the &lt;a href="https://capgo.app/docs/live-updates/rollbacks/" rel="noopener noreferrer"&gt;rollbacks docs&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I tell my own team
&lt;/h2&gt;

&lt;p&gt;Treat &lt;code&gt;notifyAppReady()&lt;/code&gt; like &lt;code&gt;main()&lt;/code&gt; returning. Keep &lt;code&gt;appReadyTimeout&lt;/code&gt; at 10 seconds unless you have measured a boot that cannot hit the entry file in time. Practice on a named channel with one device, then delete the channel when you are done.&lt;/p&gt;

&lt;p&gt;The 10 seconds are not a marketing number. They are the default native timer. Miss the handshake, and that is how long a user stares at a dead update before we put their app back.&lt;/p&gt;

</description>
      <category>capacitor</category>
      <category>ionic</category>
      <category>ota</category>
      <category>mobile</category>
    </item>
  </channel>
</rss>
