---
description: Recover from a bad Live Update in your Capacitor or Cordova app with automatic and manual rollbacks in Capawesome Cloud.
title: Roll Back a Live Update - Capawesome
image: https://capawesome.io/docs/assets/images/social/cloud/live-updates/rollbacks.png
---

[ Skip to content](#roll-back-a-release) 

[ 🔐 Introducing the **Capacitor Vault** plugin — store secrets behind biometrics or a device passcode.](/blog/announcing-the-capacitor-vault-plugin/) 

* [  SDKs ](/docs/sdks/)
* [  Formbricks ](/docs/sdks/capacitor/formbricks/)
* [  Geocoder ](/docs/sdks/capacitor/geocoder/)
* [  Google Sign-In ](/docs/sdks/capacitor/google-sign-in/)
* [  Grafana Faro ](/docs/sdks/capacitor/grafana-faro/)
* [  libSQL ](/docs/sdks/capacitor/libsql/)
* [  Live Update ](/docs/sdks/capacitor/live-update/)
* [  Managed Configurations ](/docs/sdks/capacitor/managed-configurations/)
* [  Media Session ](/docs/sdks/capacitor/media-session/)
* [  ML Kit ](/docs/sdks/capacitor/mlkit/)
* [  Navigation Bar ](/docs/sdks/capacitor/navigation-bar/)
* [  NFC ](/docs/sdks/capacitor/nfc/)
* [  OAuth ](/docs/sdks/capacitor/oauth/)
* [  Pedometer ](/docs/sdks/capacitor/pedometer/)
* [  Photo Editor ](/docs/sdks/capacitor/photo-editor/)
* [  PostHog ](/docs/sdks/capacitor/posthog/)
* [  Printer ](/docs/sdks/capacitor/printer/)
* [  Purchases ](/docs/sdks/capacitor/purchases/)
* [  RealtimeKit ](/docs/sdks/capacitor/realtimekit/)
* [  Screen Orientation ](/docs/sdks/capacitor/screen-orientation/)
* [  Screenshot ](/docs/sdks/capacitor/screenshot/)
* [  Secure Preferences ](/docs/sdks/capacitor/secure-preferences/)
* [  Speech Recognition ](/docs/sdks/capacitor/speech-recognition/)
* [  Speech Synthesis ](/docs/sdks/capacitor/speech-synthesis/)
* [  Share Target ](/docs/sdks/capacitor/share-target/)
* [  Square Mobile Payments ](/docs/sdks/capacitor/square-mobile-payments/)
* [  SQLite ](/docs/sdks/capacitor/sqlite/)
* [  Superwall ](/docs/sdks/capacitor/superwall/)
* [  Torch ](/docs/sdks/capacitor/torch/)
* [  Vault ](/docs/sdks/capacitor/vault/)
* [  Wifi ](/docs/sdks/capacitor/wifi/)
* [  Zip ](/docs/sdks/capacitor/zip/)
* [  Cordova ](/docs/sdks/cordova/)
* [  Cloud ](/docs/cloud/)
* [  Choose an Update Strategy ](/docs/cloud/live-updates/update-strategies/)
* [  Subscribe to a Channel ](/docs/cloud/live-updates/channel-subscription/)
* [  Download and Apply Updates ](/docs/cloud/live-updates/manual-updates/)
* [  Manage Channels ](/docs/cloud/live-updates/channels/)
* [  Sign Your Bundles ](/docs/cloud/live-updates/code-signing/)
* [  Reduce Update Size ](/docs/cloud/live-updates/bundle-size/)
* [  Self-Host Bundles ](/docs/cloud/live-updates/self-hosting/)
* [  Manage Devices ](/docs/cloud/live-updates/devices/)
* [  Integrations ](/docs/cloud/live-updates/integrations/)
* Concepts
* Reference
* [  Troubleshooting ](/docs/cloud/live-updates/troubleshooting/)
* [  FAQ ](/docs/cloud/live-updates/faq/)
* [  Native Builds ](/docs/cloud/native-builds/)
* [  Set Up Environments ](/docs/cloud/native-builds/environments/)
* [  Overwrite Native Configurations ](/docs/cloud/native-builds/native-configurations/)
* [  Auto-Increment Build Numbers ](/docs/cloud/native-builds/auto-incrementing-build-numbers/)
* [  Configure the Web Build Script ](/docs/cloud/native-builds/web-build-script/)
* [  Build from a Monorepo ](/docs/cloud/native-builds/monorepo/)
* [  Use pnpm or Yarn ](/docs/cloud/native-builds/package-managers/)
* [  Install Private npm Packages ](/docs/cloud/native-builds/npm-private-registry/)
* [  Override the Java Version ](/docs/cloud/native-builds/override-java-version/)
* [  Custom iOS Provisioning Profiles ](/docs/cloud/native-builds/custom-ios-provisioning-profiles/)
* [  Build without Git ](/docs/cloud/native-builds/build-without-git/)
* [  Access Git Behind a Firewall ](/docs/cloud/native-builds/firewall-access/)
* [  Integrations ](/docs/cloud/native-builds/integrations/)
* Reference
* [  Troubleshooting ](/docs/cloud/native-builds/troubleshooting/)
* [  FAQ ](/docs/cloud/native-builds/faq/)
* [  App Store Publishing ](/docs/cloud/app-store-publishing/)
* [  Submit a Build ](/docs/cloud/app-store-publishing/submit-a-build/)
* [  Submit Automatically After a Build ](/docs/cloud/app-store-publishing/submit-automatically/)
* [  Troubleshooting ](/docs/cloud/app-store-publishing/troubleshooting/)
* [  FAQ ](/docs/cloud/app-store-publishing/faq/)
* [  Automations ](/docs/cloud/automations/)
* [  Reference ](/docs/cloud/automations/reference/)
* [  Troubleshooting ](/docs/cloud/automations/troubleshooting/)
* [  FAQ ](/docs/cloud/automations/faq/)
* [  Assist ](/docs/cloud/assist/)
* [  CLI ](/docs/cloud/cli/)
* APIs and SDKs
* [  Webhooks ](/docs/cloud/webhooks/)
* [  Integrations ](/docs/cloud/integrations/)
* Account
* [  Organization ](/docs/cloud/organizations/)
* [  Two-Factor Enforcement ](/docs/cloud/organizations/two-factor-authentication/)
* [  Audit Logs ](/docs/cloud/organizations/audit-logs/)
* [  Billing ](/docs/cloud/organizations/billing/)
* [  License Keys ](/docs/cloud/license-keys/)
* [  AI ](/docs/ai/)
* [  Insiders ](/docs/insiders/)
* [  Billing & Plans ](/docs/insiders/billing-and-plans/)
* [  FAQ ](/docs/insiders/faq/)
* [  License ](https://capawesome.io/legal/eula/)
* [  Support ](/docs/support/)
* [  Contributing ](/docs/contributing/)
* Contributing code
* [  Code of Conduct ](/docs/contributing/code-of-conduct/)
* [  Questions ](https://docs.github.com/en/discussions/collaborating-with-your-community-using-discussions/participating-in-a-discussion#creating-a-discussion)
* [  Blog ](/blog/)
* Categories

# Roll Back a Release[¶](#roll-back-a-release "Permanent link")

A rollback reverts to a previous bundle when a new one doesn't work as expected. The SDK supports **automatic** rollbacks (self-healing), and you can also roll back **manually** from the CLI or Console.

## Automatic Rollbacks[¶](#automatic-rollbacks "Permanent link")

The SDK can automatically roll back to the previous bundle if a new bundle fails to start. Configure `readyTimeout` and `autoBlockRolledBackBundles`:

CapacitorCordova

capacitor.config.json

`[](#%5F%5Fcodelineno-0-1){
[](#%5F%5Fcodelineno-0-2)  "plugins": {
[](#%5F%5Fcodelineno-0-3)    "LiveUpdate": {
[](#%5F%5Fcodelineno-0-4)      "autoBlockRolledBackBundles": true,
[](#%5F%5Fcodelineno-0-5)      "readyTimeout": 10000
[](#%5F%5Fcodelineno-0-6)    }
[](#%5F%5Fcodelineno-0-7)  }
[](#%5F%5Fcodelineno-0-8)}
`

config.xml

`[](#%5F%5Fcodelineno-1-1)<preference name="AUTO_BLOCK_ROLLED_BACK_BUNDLES" value="true" />
[](#%5F%5Fcodelineno-1-2)<preference name="READY_TIMEOUT" value="10000" />
`

`readyTimeout` is the deadline (in milliseconds): if your app doesn't call `ready()` within this window of starting, the SDK assumes the bundle is broken and reverts on the next launch. `autoBlockRolledBackBundles` prevents a rollback loop by blocking a bundle that has already triggered a rollback.

For this to work, call `ready()` as early as possible at app start — as soon as your bootstrap code has run without crashing:

CapacitorCordova

`[](#%5F%5Fcodelineno-2-1)import { LiveUpdate } from "@capawesome/capacitor-live-update";
[](#%5F%5Fcodelineno-2-2)
[](#%5F%5Fcodelineno-2-3)await LiveUpdate.ready();
`

`[](#%5F%5Fcodelineno-3-1)document.addEventListener("deviceready", async () => {
[](#%5F%5Fcodelineno-3-2)  await cordova.plugins.LiveUpdate.ready();
[](#%5F%5Fcodelineno-3-3)});
`

## Manual Rollbacks[¶](#manual-rollbacks "Permanent link")

Roll back to a previous bundle from the CLI or Console.

CLIConsole

Use the [apps:liveupdates:rollback](/docs/cloud/cli/commands/#appsliveupdatesrollback) command:

`[](#%5F%5Fcodelineno-4-1)npx @capawesome/cli apps:liveupdates:rollback
`

Select the app and channel, then choose the deployment you want to roll back to.

In the [Console](https://console.cloud.capawesome.io/), open the channel's history page, find the deployment you want to roll back to, and click **Rollback**. A new deployment is created that points to the selected bundle.

![Rollback Bundle](/docs/assets/images/screenshots/cloud-app-bundles-rollback.png)

June 8, 2026 

 Back to top 