Types de mise à jour
Référence de tous les types de mises à jour OTA : timing d’application, conditions de délai, blocage de version et livraison.
Use Capgo’s Mises à jour en direct Fonctionnalité to Mise à jour the JavaScript Bundles of your Application remotely, in real-time. Pousser JS Mises à jour directly to your Utilisateurs without going through the Application Store review process to instantly fix bugs and ship Nouveau Fonctionnalités.
Capgo’s Live Mise à jour system has two key components:
The Capgo SDK, which you Installer in your Application. The SDK checks for Disponible Mises à jour and downloads them in the background.
Channels, which let you target updates to specific groups of users. You can use channels to manage different release tracks, such as Production, Staging, and Dev.
When you Télécharger a Nouveau JS Bundle to Capgo and assign it to a Canal, the Capgo SDK in apps configured for that Canal will detect the Mise à jour and Télécharger it. The Suivant time the Application restarts, the Nouveau Bundle will be loaded.
To Démarrer using Mises à jour en direct, follow these steps:
Terminé the [Capgo Démarrage rapide](/docs/getting-started/Démarrage rapide) to set up your Application in Capgo and Installer the Capgo SDK.
In your app code, call CapacitorUpdater.notifyAppReady() after your app has finished initializing. This tells the Capgo SDK that your app is ready to receive updates.
Construction your JS Bundle and Télécharger it to Capgo:
npm run buildnpx @capgo/cli@latest bundle upload --channel=productionOpen your Application and wait for the Mise à jour to Télécharger. You can Vérifier the status with:
npx @capgo/cli@latest app debugOnce the Mise à jour is downloaded, close and reopen your Application to load the Nouveau Bundle.
See the Deploying Mises à jour en direct Guide for more details.
Types de mise à jour
Référence de tous les types de mises à jour OTA : timing d’application, conditions de délai, blocage de version et livraison.
Channels
Learn how to use Canaux to manage different Libération tracks and target Mises à jour to specific Utilisateurs.
Rollbacks
Discover how to roll Retour to a Précédent JS Bundle Version if an Mise à jour causes issues.
Update Behavior
Customize how and when Mises à jour are downloaded and applied in your Application.
Fast Updates
Learn how to use fast Mises à jour to speed up the Mise à jour process.