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-appinsights`
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/appinsights/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.
설치
설치란 제목bun add @capgo/capacitor-appinsightsbunx cap sync수입
수입란 제목import { CapacitorAppInsights } from '@capgo/capacitor-appinsights';API 개요
API 개요 제목init
init 제목SDK 초기화
import { CapacitorAppInsights } from '@capgo/capacitor-appinsights';
await CapacitorAppInsights.init({} as { partnerId: string; // Provided by our business unit partnerKey: string; // Provided by our business unit });setUserId
__CAPGO_KEEP_0__ 사용자 ID 설정초기화 후 사용자 ID 설정
import { CapacitorAppInsights } from '@capgo/capacitor-appinsights';
await CapacitorAppInsights.setUserId({} as { userId: string });getState
__CAPGO_KEEP_0__ 현재 상태Get the current state of the SDK
import { CapacitorAppInsights } from '@capgo/capacitor-appinsights';
await CapacitorAppInsights.getState();Type Reference
타입 참조PanelSDKState
PanelSDKStateexport interface PanelSDKState { initCompleted: boolean; // SDK initialization status jobScheduled: boolean; // Background job scheduling status permissionAcquired: boolean; // Required permissions status}진실의 근원
진실의 근원이 페이지는 플러그인의 src/definitions.tsAPI이 업스트림에서 변경될 때 다시 싱크를 실행하세요.
Getting Started에서 계속
Getting Started에서 계속Capgo를 사용 중이라면 Getting Started 대시보드와 API 운영을 계획하고 연결하세요. Using @capgo/capacitor-appinsights Using @capgo/capacitor-appinsights API 개요 API 개요 소개 소개 API 키 API 키 기기 기기