はじめから始める
このプラグインのインストール手順とフルマークダウンガイドを含む設定プロンプトをコピーしてください。
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.
インストール
「インストール」というセクションCapgoのAI-Assisted Setupを使用してプラグインをインストールできます。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-ssl-pinning` plugin in my project.Manual Setupを使用する場合は、以下のコマンドを実行してプラグインをインストールし、以下のプラットフォーム固有の指示に従ってください。
bun add @capgo/capacitor-ssl-pinningbunx cap syncインポート
「インポート」のセクションimport { SSLPinning } from '@capgo/capacitor-ssl-pinning';APIの概要
「APIの概要」のセクションgetConfiguration
「getConfiguration」のセクションプラグインが認識できる有効なネイティブ設定を返します。
import { SSLPinning } from '@capgo/capacitor-ssl-pinning';
await SSLPinning.getConfiguration();型参照
「型参照」のセクションSSLPinningConfigurationState
「SSLPinningConfigurationState」セクションプラグインに現在表示されている静的の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
「PluginVersionResult」セクションプラグインバージョンペイロード
export interface PluginVersionResult { /** * Version identifier returned by the platform implementation. */ version: string;}ソースオブトゥルース
「ソースオブトゥルース」セクションこのページはプラグインの src/definitions.tsパブリックAPIがアップストリームで変更されたときに再度syncを実行してください。
Getting Startedから続けてください
「Getting Startedから続けてください」セクションCapgoを使用している場合 は、セキュリティとコンプライアンスの計画に役立ちます。 を接続してください。 を使用して、@capgo/capacitor-ssl-pinning のネイティブ機能を使用するには、@capgo/capacitor-ssl-pinning を使用します。 は、暗号化の実装詳細です。 は、コンプライアンスの実装詳細です。 は、__CAPGO_KEEP_0__ Security Scannerの製品ワークフローです。 は、Capgo Securityです。 Capgo Security Scanner Capgo Security Capgo製品のワークフローにおけるCapgoセキュリティ。