メインコンテンツにジャンプ
ソリューション

自主管理のライブ更新

Capgoのライブ更新の次のバージョンを発表するのはとても楽しみです!

マーティン・ドナディエ

マーティン・ドナディエ

コンテンツマーケター

自主管理のライブ更新

I am delighted to announce the release of Self-hosted Live Updates, which represents the latest evolution of Capgo’s Live Updates.

現在、多くの企業がLive Updates SDKを利用して、最新のJavaScript、HTML、CSSの更新をアプリケーションに適用していますが、企業の規制、業界の規制、地理的な制限などにより、障壁に直面する企業も多くあります。Self-hosted Live Updatesを利用することで、Webビルドアーティファクトをインフラストラクチャを通じて配布することができます。

This means you can avoid delays caused by Apple Store reviews, address bugs and modify content more rapidly, and ensure that your users are always operating on the latest version of your app. Additionally, I have heard from numerous large enterprises who would like to leverage Live Updates but face challenges due to strict compliance standards. This issue is now a thing of the past thanks to Self-hosted Live Updates.

Self-hosted Live Updatesはどのように機能するのでしょうか。

Deploying Capgo-hosted Live Updatesは、Capgo __CAPGO_KEEP_1__を使用することで簡単に実行できます。 Capgo SDKAs for Self-hosted Live Updates, I have enhanced the Capgo CLI with the necessary functionalities to enable configuration on your infrastructure.

Capgoで最新のWebビルドアーティファクトを安全かつ調整された形でエンドユーザーに提供することを保証するために、CapacitorはLive Updatesプラグインがパブリック/プライベートキーペアリングを使用できるようになりました。Self-hosted Live Updatesを使用する場合、エンタープライズのインフラストラクチャからプラグインを介してダウンロードされたアーティファクトが未加工であることを確認するために、追加のハンドシェイクが実行されます。

Capgo暗号化スキーマ

Live Updatesプラグインのキーペアリングを確立し、エンドユーザーに更新された体験を提供するプロセスを実施するための手順は以下のとおりです。

一時的なキーペアの設定

パブリック/プライベートキーペアを生成するには、エンタープライズは以下のCapgo Cloud CLIコマンドを使用できます。

npx @capgo/cli@latest key create

このコマンドは CapacitorUpdater.privateKey プロパティをconfigファイルに設定し、2つのキーファイルをプロジェクトルートディレクトリに生成します。 capgo_key.pub このキーペアは、更新を署名し、更新をアプリ側で検証するために使用されます。 capgo_key Self-hosted Live Updatesワークフロー

Self-hosted Live Updatesを実装するには、エンタープライズはまずバグ修正、コンテンツ更新、またはその他のWebベースの__CAPGO_KEEP_0__変更を含むWebビルドを実行する必要があります。次に、1回限りのセットアッププロセスで取得したプライベートキーよりも更新を署名し、最後に、バンドルをエンタープライズの好みのストレージロケーションにアップロードする必要があります。

__CAPGO_KEEP_0__

To start implementing Self-hosted Live Updates, an enterprise must first perform a web build of their bug fixes, content updates, or any other web-based code changes they wish to make. Next, they must sign the build artifact using the private key obtained during the one-time setup process, and finally upload the bundle to their preferred storage location.

codeを最初に作成してください。

npm run build

Then Zip your build:

npx @capgo/cli@latest bundle zip

Then encrypt your zip:

npx @capgo/cli@latest bundle encrypt abc123.zip”

このコマンドは、次のステップで必要なivSessionKeyを出力します。

Now upload your encrypted zip to your enterprise storage and get the URL of the zip file.

Capgoは、CLIコマンドを使用して、Live Updateが利用可能であることを通知する必要があります。

npx @capgo/cli@latest bundle upload --external=https://abc.com/app/updates/abc123.zip --iv-session-key=YourKey

Once the command is run, Capgo is aware of a new update ready to be distributed to the app’s users. Now, when the app is started, the Live Updates plugin checks with Capgo to see if any changes need to be brought down.

Capgoは、Live Updatesプラグインに「Yes, an update is available」という応答を返し、Live UpdatesプラグインはURLの場所から提供された`register`CLIコマンドを使用して新しいLive Updateをダウンロードします。

https://abc.com/app/updates/abc123.zip

The organization’s APIは、Live Updateバンドルを返し、そしてアプリはzipを復号し、Live Updateを適用します。

Get started

CapgoのLive Updateの拡大を喜んでいます。

For more information on Self-hosted Live Updates by Capgo, you can ドキュメントをご確認ください。.ユーザーに直接インスタント アプリの更新を展開する準備ができましたか? 今すぐ登録してください!

Self-hosted Live Updatesから続けてください。

Self-hosted Live Updatesを使用している場合 Self-hosted Live Updates migrationとエンタープライズ オペレーションを計画するには、__CAPGO_KEEP_0__ Enterpriseと接続してください。 Capgo Enterpriseの製品ワークフロー for the product workflow in Capgo Enterprise, __CAPGO_KEEP_0__ Alternatives __CAPGO_KEEP_0__ Enterprise Capgo Enterprise 製品ワークフローにおけるCapgo Alternativesの Capgo Consulting 製品ワークフローにおけるCapgo Consultingの Capgo Premium Support 製品ワークフローにおけるCapgo Premium Supportの

Capacitorアプリ向けのリアルタイム更新

ウェブ層のバグが生じた場合、Capgoを通じて修正を配信し、アプリストアの承認待ちの日数を省きます。ユーザーはバックグラウンドで更新を受け取り、ネイティブの変更は通常のレビュー経路を通じます。

Get Started Now

Latest from our Blog

Capgo gives you the best insights you need to create a truly professional mobile app.