Complete guide to implementing live updates in Capacitor apps using Capgo. Covers account creation, plugin installation, configuration, update strategies, and CI/CD integration. Use this skill when users want to deploy updates without app store review.
Complete guide to implementing live updates in Capacitor apps using Capgo. Covers account creation, plugin installation, configuration, update strategies, and CI/CD integration. Use this skill when users want to deploy updates without app store review.
Capgo Live Updates for Capacitor
Deploy updates to your Capacitor app instantly without waiting for app store review.
When to Use This Skill
User wants live/OTA updates
User asks about Capgo
User wants to skip app store review
User needs to push hotfixes quickly
User wants A/B testing or staged rollouts
What is Capgo?
Capgo is a live update service for Capacitor apps that lets you:
Push JavaScript/HTML/CSS updates instantly
Skip app store review for web layer changes
Roll back bad updates automatically
A/B test features with channels
Monitor update analytics
Note: Native code changes (Swift/Kotlin/Java) still require app store submission.
// app.ts - Just notify when readyimport { CapacitorUpdater } from'@capgo/capacitor-updater';
// Tell Capgo the app loaded successfully// This MUST be called within 10 seconds of app startCapacitorUpdater.notifyAppReady();
Important: Always call notifyAppReady(). If not called within 10 seconds, Capgo assumes the update failed and rolls back.
# Build your web app
npm run build
# Upload to Capgo
capgo upload
# Upload to specific channel
capgo upload --channel beta
# Upload with version
capgo upload --bundle 1.2.3
# Deploy to beta (internal testing)
capgo upload --channel beta
# Promote to production
capgo upload --channel production
Staged Rollout
In Capgo dashboard:
Go to Channels > production
Set rollout percentage (e.g., 10%)
Monitor analytics
Increase to 50%, then 100%
Device-Specific Channels
// Assign device to channelimport { CapacitorUpdater } from'@capgo/capacitor-updater';
// For beta testersawaitCapacitorUpdater.setChannel({ channel: 'beta' });
// For production usersawaitCapacitorUpdater.setChannel({ channel: 'production' });
Rollback and Version Management
Automatic Rollback
If notifyAppReady() isn't called within 10 seconds, Capgo automatically rolls back to the previous working version.
Manual Rollback
# List available versions
capgo bundle list
# Rollback to specific version
capgo bundle revert --bundle 1.2.2 --channel production
In-App Rollback
// Get list of downloaded bundlesconst bundles = awaitCapacitorUpdater.list();
// Rollback to built-in versionawaitCapacitorUpdater.reset();
// Delete a specific bundleawaitCapacitorUpdater.delete({ id: 'bundle-id' });