Skip to content

Rollbacks

Rollbacks are a way to revert to a previous bundle of your app. This is useful when you have deployed a new bundle of your app and it is not working as expected.

Delete a bundle

To rollback to a previous bundle of your app, you can just delete the latest bundle. This makes the previous bundle the latest bundle and the app will automatically roll back to it the next time the app calls the sync() method of the Capacitor Live Update plugin.

Disable a bundle

If you want to keep the latest bundle but disable it, you can roll out the bundle to 0% of users using the --rollout option when updating the bundle using the Capawesome CLI:

npx capawesome apps:bundles:update --rollout 0

This will disable the latest bundle and the app will automatically roll back to the previous bundle the next time the app calls the sync() method of the Capacitor Live Update plugin.