__CAPGO_KEEP_0__

Getting Started

GitHub

CapgoのAIアシストセットアップを使用してプラグインをインストールできます。AIツールにCapgoスキルを追加するには、以下のコマンドを使用してください。

ターミナルウィンドウ
npx skills add https://github.com/Cap-go/capgo-skills --skill capacitor-plugins

次のプロンプトを使用してください。

Use the `capacitor-plugins` skill from `Cap-go/capgo-skills` to install the `@capgo/capacitor-appinsights` plugin in my project.

手動設定を好む場合は、以下のコマンドを実行して、下記のプラットフォーム固有の指示に従ってプラグインをインストールしてください。

ターミナルウィンドウ
bun add @capgo/capacitor-appinsights
bunx cap sync
import { CapacitorAppInsights } from '@capgo/capacitor-appinsights';

SDKのAppInsightsを初期化する

import { CapacitorAppInsights } from '@capgo/capacitor-appinsights';
await CapacitorAppInsights.init({} as {
partnerId: string; // Provided by our business unit
partnerKey: string; // Provided by our business unit
});

初期化後、ユーザーIDを設定または更新します

import { CapacitorAppInsights } from '@capgo/capacitor-appinsights';
await CapacitorAppInsights.setUserId({} as { userId: string });

クリップボードにSDKの現在の状態を取得

import { CapacitorAppInsights } from '@capgo/capacitor-appinsights';
await CapacitorAppInsights.getState();

Section titled “Type Reference”

Section titled “パネルSDKの状態”
export interface PanelSDKState {
initCompleted: boolean; // SDK initialization status
jobScheduled: boolean; // Background job scheduling status
permissionAcquired: boolean; // Required permissions status
}

Section titled “真実の源”

protectedTokens

このページはプラグインから生成されています。 src/definitions.ts.再度、上流の API が変更されたときに、Sync を再実行してください。

Capgo を使用している場合 Capgo を使用してダッシュボードと __CAPGO_KEEP_0__ の作業を計画する場合、Capgo を Capgo を使用して Capgo アプリに @API/__CAPGO_KEEP_1__-appinsights を接続します。 Capgo を使用して Capgo アプリに @capgo/capacitor-appinsights を接続するnative capability の説明 Capgo を使用して Capgo アプリに @capgo/capacitor-appinsights を接続する実装の詳細 Capgo を使用して Capgo アプリに @API/__CAPGO_KEEP_1__-appinsights を接続する概要 Capgo を使用して Capgo アプリに @API/__CAPGO_KEEP_1__-appinsights を接続する導入 導入 実装詳細については、Introductionを参照してください。 API キー 実装詳細については、API キー、 デバイス 実装詳細については、デバイスを参照してください。