スタート
Copy a setup prompt with the install steps and the full markdown guide for this plugin.
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セットアップを使用してプラグインをインストールできます。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
「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;}真実の源
「真実の源」のセクションこのページはプラグインから生成されます。 src/definitions.tsパブリック API がアップストリームで変更された場合に再度同期を実行してください。
Getting Started から続けてください。
Getting Started から続けてください。Capacitor を使用している場合 Getting Started セキュリティとコンプライアンスを計画するには、Capacitor を接続してください。 Capacitor の @capgo/capacitor-ssl-pinning を使用 Capacitor の @capgo/capacitor-ssl-pinning のネイティブ機能 暗号化 暗号化の実装詳細 コンプライアンス Complianceの実装詳細について Capgo セキュリティ スキャナー Capgo セキュリティ スキャナーの製品ワークフローについて Capgo セキュリティ Capgo セキュリティの製品ワークフローについて