Guide
How to use SSL Pinning in Capacitor
Using @capgo/capacitor-ssl-pinning
Capacitor API for inspecting SSL pinning configuration.
Install
bun add @capgo/capacitor-ssl-pinning
bunx cap sync
bunx cap sync copies the plugin's native code into your native projects. Run it again after every plugin upgrade.
Import
import { SSLPinning } from '@capgo/capacitor-ssl-pinning';
API at a glance
| Method | Description |
|---|---|
getConfiguration |
Returns the active native configuration visible to the plugin. |
Examples
getConfiguration()
Returns the active native configuration visible to the plugin.
import { SSLPinning } from '@capgo/capacitor-ssl-pinning';
const result = await SSLPinning.getConfiguration();
console.log(result);
Full reference
Keep going from Using @capgo/capacitor-ssl-pinning
If you are using Using @capgo/capacitor-ssl-pinning to plan security and compliance, connect it with @capgo/capacitor-ssl-pinning for the implementation detail in @capgo/capacitor-ssl-pinning, Getting Started for the implementation detail in Getting Started, Encryption for the implementation detail in Encryption, Compliance for the implementation detail in Compliance, and Capgo Security Scanner for the product workflow in Capgo Security Scanner.