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-ssl-pinning`
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/ssl-pinning/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-ssl-pinningbunx cap syncインポート
インポートのセクションimport { SSLPinning } from '@capgo/capacitor-ssl-pinning';API Overview
セクション「API オーバービュー」getConfiguration
セクション「getConfiguration」現在のネイティブ設定をプラグインに表示します。
import { SSLPinning } from '@capgo/capacitor-ssl-pinning';
await SSLPinning.getConfiguration();タイプ リファレンス
セクション「タイプ リファレンス」SSLPinningConfigurationState
セクション「SSLピンニング設定の状態」現在のプラグインに表示されている静的SSLピンニング設定。
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
セクション「プラグインバージョン結果」プラグインバージョンのペイロード。
export interface PluginVersionResult { /** * Version identifier returned by the platform implementation. */ version: string;}Source Of Truth
Section titled “Source Of Truth”このページはプラグインから生成されています。 src/definitions.tsAPIがアップストリームで変更されたら、再度同期を実行してください。
Keep going from Getting Started
Section titled “Keep going from Getting Started”この機能を使用している場合 Getting Started to plan security and compliance, connect it with Using @capgo/capacitor-ssl-pinning for the native capability in Using @capgo/capacitor-ssl-pinning, @__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-ssl-pinningを使用するには、native capabilityを使用してください。@__CAPGO_KEEP_0__/__CAPGO_KEEP_1__-ssl-pinningを使用する場合、native capabilityを使用してください。 __CAPGO_KEEP_0__の暗号化実装詳細について __CAPGO_KEEP_1__ __CAPGO_KEEP_2__の実装詳細について Capgo セキュリティ スキャナー Capgo セキュリティ スキャナーの製品ワークフローについて、 Capgo セキュリティ Capgo セキュリティの製品ワークフローについて、