메뉴로 바로가기

시작하기

터미널 창
bun add @capgo/capacitor-ssl-pinning
bunx cap sync
import { SSLPinning } from '@capgo/capacitor-ssl-pinning';

API 개요

API 개요

getConfiguration

__CAPGO_KEEP_0__ 개요

활성 네이티브 구성이 플러그인에 표시되는 현재 구성 반환

import { SSLPinning } from '@capgo/capacitor-ssl-pinning';
await SSLPinning.getConfiguration();

타입 참조

타입 참조

클립보드 복사

export interface SSLPinningConfigurationState {
/**
* Whether at least one certificate is configured for native pinning.
*/
configured: boolean;
/**
* Certificate paths from `capacitor.config.*` relative to the app root.
*/
certs: string[];
/**
* Fully-qualified URLs that should bypass SSL pinning.
*/
excludedDomains: string[];
}

PluginVersionResult

클립보드 복사

__CAPGO_KEEP_0__ 개요

export interface PluginVersionResult {
/**
* Version identifier returned by the platform implementation.
*/
version: string;
}

실제 데이터 원천

실제 데이터 원천 섹션

이 페이지는 플러그인의 src/definitions.ts. upstream에서 pubic API이 변경되었을 때 다시 싱크를 실행하세요.