Getting started
このプラグインのインストール手順とフルマークダウンガイドを含むセットアッププロンプトをコピーします。
Set up this Capacitor plugin in the project.
Use the package manager already used by the project.
Install these package(s): `@capgo/capacitor-updater`
Run the required Capacitor sync/update step after installation.
Read this markdown guide for the full setup steps: https://raw.githubusercontent.com/Cap-go/website/refs/heads/main/apps/docs/src/content/docs/docs/plugins/updater/self-hosted/getting-started.mdx
Use that guide for platform-specific steps, native file edits, permissions, config changes, imports, and usage setup.
If that guide references other docs pages, read them too.
このドキュメントでは、自分のオートアップデートサーバーを実行する方法を説明します。
この作業が役に立ったと感じたら、私の作業を支援するために私の作業を支援するために支援者になりましょう。 Github のスポンサー.
私がここで作った code をすべてオープンソース化することに賭けました。料金を請求するのではなく、隠すのではなく、開放することで、世界をより良い場所にしたいと考えています。
さらに、私は Capgo ツールに焦点を当て、オープンで透明なビジネスにすることを目指しています。
しかし、それを実現するには、みんなが自分の役割を果たさなければなりません、そしてあなたも含めて。
あなたが Capgo に合わない場合は、自分で料金を払ってください。 自前サーバーに頼るのではなく、自社のメーカーを支援することをお勧めします。 寄付する
機能の完全一致のセクション
あなたが自社サーバーを選択した場合、5分のセットアップフローを失うことになります。あなた自身でこれらの機能を実装する必要があります。
You need to implement all of these features yourself.
| 機能 | Capgo | 自社ホスト |
|---|---|---|
| 更新 | ✅ | 🚧 |
| 自動復元 | ✅ | 🚧 |
| 失敗時メール通知 | ✅ | 🚧 |
| チャンネル | ✅ | 🚧 |
| チャンネルオーバーライド | ✅ | 🚧 |
| デバイスオーバーライド | ✅ | 🚧 |
| チャンネル設定 | ✅ | 🚧 |
| デバイス設定 | ✅ | 🚧 |
| カスタムID | ✅ | 🚧 |
| 自動チャネル設定 | ✅ | 🚧 |
| API チャネル | ✅ | 🚧 |
| 更新統計 | ✅ | 🚧 |
| ダウンロード失敗統計 | ✅ | 🚧 |
| アプリ使用状況統計 | ✅ | 🚧 |
| アップデート暗号化 | ✅ | 🚧 |
| Δ (マニフェスト)更新 | ✅ | ❌ |
Capgo クラウドとサーバーを同時に使用することはできません。
Auto と Manual の選択
セクション:Auto と Manual の選択Auto モードでは、Native code が部分的にロジックを処理し、更新はサーバーサイドで決定されます。このモードはより安全で、細かい更新や、一部のデバイスまたはグループへの部分的なデプロイなどが可能です。
Manual モードでは、すべてのロジックが JS で処理されます。
Capacitor アップデーターをインストール
セクション:Capacitor アップデーターをインストールnpm install @capgo/capacitor-updaternpx cap syncPrepare your bundle
Section titled “Prepare your bundle”To send updates to your app, you need to zip it. The best way to be certain your zip is good is to use the Capgo CLI for zipping.
npx @capgo/cli@latest bundle zipYou will have to serve this zip from your server on your own.
Keep going from Getting started
Section titled “Keep going from Getting started”If you are using Getting started to plan migration and enterprise operations, connect it with Using @capgo/capacitor-updater for the native capability in Using @capgo/capacitor-updater, Capgo Enterprise for the product workflow in Capgo Enterprise, Ionic Enterprise Plugin Alternatives Ionic Enterprise Pluginの代替 Capgo Alternatives Capgoの代替 Capgo Consulting Capgoのコンサルティング