"チャンネル"
"Learn how to use channels to manage different release tracks and target updates to specific users."
このプラグインのインストール手順とフルマークダウンガイドを含むセットアッププロンプトをコピーできます。
Use Capgo’s Live Updates feature to update the JavaScript bundles of your app remotely, in real-time. Push JS updates directly to your users without going through the app store review process to instantly fix bugs and ship new features.
CapgoのLive Updateシステムには2つの主なコンポーネントがあります。
CapgoのSDK、アプリにインストールするものです。SDKは利用可能な更新をチェックし、バックグラウンドでダウンロードします。
チャンネル、ユーザーを特定のグループにターゲットにすることができます。チャンネルを使用して、リリーストラックを管理できます。 Production, Staging、 Dev.
When you upload a new JS bundle to Capgo and assign it to a channel, the Capgo SDK in apps configured for that channel will detect the update and download it. The next time the app restarts, the new bundle will be loaded.
「Getting Started」のセクション
Complete the Capgoのクイックスタートを完了して、Capgoにアプリをセットアップし、__CAPGO_KEEP_1__ __CAPGO_KEEP_2__をインストールしてください。 to set up your app in Capgo and install the Capgo SDK.
codeが初期化が完了した後です。これは、code __CAPGO_KEEP_1__にアプリが更新を受け取る準備ができたことを通知します。 CapacitorUpdater.notifyAppReady() after your app has finished initializing. This tells the Capgo SDK that your app is ready to receive updates.
Build your JS bundle and upload it to Capgo:
npm run buildnpx @capgo/cli@latest bundle upload --channel=productionOpen your app and wait for the update to download. You can check the status with:
npx @capgo/cli@latest app debugOnce the update is downloaded, close and reopen your app to load the new bundle.
See the Deploying Live Updates guide for more details.
The Capgo CLIは、開発者がCI/CD PipelinesからCapgoのサービスと相互作用する強力なツールです。CLIを使用すると、ビルドの生成と展開のタイミングを細かく制御できます。これにより、Capgoを既存のエンタープライズワークフローに統合できます。
Capgo CLIは、開発者やチームがライブアップデートワークフローにおける制御と柔軟性を必要とする場合に設計されています。CLIをCI/CD Pipelinesに使用すると、次のことが可能になります。
「Capgo」を使用するには、CLIで「API」キーを認証する必要があります。APIキーを生成するには、Capgoアカウント設定にアクセスしてください。
「API」をログインして安全に保存するには、以下のコマンドを実行してください。
npx @capgo/cli@latest login [API_KEY]このコマンドは、以降の使用に保存されます。ログイン後に「API」キーを提供する必要はありません。
他のライブアップデート「CLI」ツールと比較した、「Capgo」の「CLI」には、いくつかの重要な点があります。
「Capgo」は、開発とCI/CDの両方の用途に使用できる単一の「CLI」を使用します。Capgoは、ライブアップデート機能セットにのみ焦点を当てています。
「Capgo」「CLI」には、別のインストールステップが必要ありません。__CAPGO_KEEP_2__は、CLIに組み込まれています。 @capgo/cli targetLanguage":"Japanese","protectedTokens":["Cloudflare","Capacitor","GitHub","Capgo","code","API","SDK","CLI","npm","bun"],"texts":["パッケージは直接実行できます。", npx.
CapgoのCLIは、ライブアップデートワークフローに特化しているため、より一般的なCLIツールに含まれる機能やコマンドがすべて含まれていない可能性があります。
"チャンネル"
"Learn how to use channels to manage different release tracks and target updates to specific users."
"ロールバック"
"Discover how to roll back to a previous JS bundle version if an update causes issues."
"アップデートの動作"
"Customize how and when updates are downloaded and applied in your app."
"高速アップデート"
"Learn how to use fast updates to speed up the update process."
あなたが「概要から続ける」を使用している場合 概要 ダッシュボードとAPIの実行を計画するには、APIと接続する APIの概要 APIの概要の実装詳細については、APIの概要を参照してください 導入 導入の実装詳細については、導入を参照してください APIのキー APIのキーについての実装詳細は、APIのキーを参照してください デバイス デバイスの実装詳細について バンドルの実装詳細について 編集ページ