Aller au contenu

Add an App

Ce contenu n’est pas encore disponible dans votre langue.

Introduction to Capgo

Live updates are 3 step away

Guided setup

  1. Create your account at https://capgo.app/register. signup screenshot

  2. Use the Init commands to get started

    Fenêtre de terminal
    npx @capgo/cli@latest init [APIKEY]
    You will be presented with a series of questions. Provide the necessary answers to complete the automated setup.

  3. Deploy a live update

Manual setup

In case the init command doesn’t work for you, you can manually add an app.

  1. Connect the CLI to your account:

    Fenêtre de terminal
    npx @capgo/cli@latest login [APIKEY]

  2. Add the app to your account with this command:

    Fenêtre de terminal
    npx @capgo/cli@latest app add [APP_NAME]

  3. Install the plugin in your app:

    Fenêtre de terminal
    npm i @capgo/capacitor-updater

  4. Call the init method as early as possible in your app:

    import { CapacitorUpdater } from '@capgo/capacitor-updater';
    CapacitorUpdater.notifyAppReady();

  5. Deploy a live update