@capgo/capacitor-ssl-pinning 8.1.10 → 8.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +21 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,11 +1,29 @@
1
1
  # @capgo/capacitor-ssl-pinning
2
- <a href="https://capgo.app/"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-ssl-pinning" alt="Capgo - Instant updates for Capacitor" /></a>
2
+
3
+ Add SSL certificate pinning to your Capacitor app's native HTTP requests on iOS and Android, so your API traffic only trusts your own certificates.
4
+
5
+ <a href="https://capgo.app/?ref=plugin_ssl_pinning"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-ssl-pinning" alt="Capgo - Instant updates for Capacitor" /></a>
3
6
 
4
7
  <div align="center">
5
- <h2><a href="https://capgo.app/?ref=plugin_ssl_pinning"> ➡️ Get Instant updates for your App with Capgo</a></h2>
6
- <h2><a href="https://capgo.app/consulting/?ref=plugin_ssl_pinning"> Missing a feature? We’ll build the plugin for you 💪</a></h2>
8
+ <p><b>Capgo</b>: open-source live updates for Ionic and Capacitor apps. Ship OTA fixes and features instantly, without waiting for app store review.</p>
9
+ <h2><a href="https://capgo.app/register/?ref=plugin_ssl_pinning">➡️ Get started for free</a></h2>
10
+ <p>14-day unlimited free trial. No credit card required</p>
11
+ <p><a href="https://capgo.app/consulting/?ref=plugin_ssl_pinning">Missing a feature? We'll build the plugin for you 💪</a></p>
7
12
  </div>
8
13
 
14
+ <p align="center">
15
+ <img src="https://raw.githubusercontent.com/Cap-go/capacitor-ssl-pinning/main/assets/github-social-preview.png" alt="@capgo/capacitor-ssl-pinning for Capacitor apps" width="300" />
16
+ </p>
17
+
18
+ ## Key features
19
+
20
+ - **Config only**: list certificate files under `plugins.SSLPinning.certs` in `capacitor.config`.
21
+ - **CapacitorHttp**: pinning applies to `CapacitorHttp` requests when it is enabled.
22
+ - **Sync hook**: `cap sync` copies the certificates and converts PEM files to DER for iOS.
23
+ - **Exclusions**: `excludedDomains` lets chosen URLs skip pinning.
24
+ - **Inspect**: `getConfiguration()` returns the active native configuration.
25
+ - **Platforms**: iOS and Android. Not available on web.
26
+
9
27
  Capgo SSL Pinning brings certificate pinning to Capacitor 8 apps by integrating with `CapacitorHttp` on Android and iOS.
10
28
 
11
29
  The implementation follows the Ionic SSL pinning install flow and uses the same `plugins.SSLPinning` configuration shape documented at [ionic.io](https://ionic.io/docs/ssl-pinning/install).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-ssl-pinning",
3
- "version": "8.1.10",
3
+ "version": "8.1.11",
4
4
  "description": "Capacitor SSL pinning plugin for Android and iOS that integrates with CapacitorHttp.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",