{"repo":"frw/react-native-ssl-public-key-pinning","free":true,"listed":false,"github":"https://github.com/frw/react-native-ssl-public-key-pinning","clone":"git clone https://github.com/frw/react-native-ssl-public-key-pinning.git","description":"Simple and secure SSL public key pinning for React Native. No native configuration needed, set up in <5 minutes.","language":"TypeScript","stars":261,"topics":["android","ios","network","pki","react-native","ssl","ssl-pinning"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-native-ssl-public-key-pinning Simple and secure SSL public key pinning for React Native. Uses OkHttp CertificatePinner on Android and TrustKit on iOS. 🔍Overview - ✅ Supports SSL public key pinning using the base64-encoded SHA-256 hash of a certificate's Subject Public Key Info. - ✅ No native configuration needed. Simply install and configure through the provided JS API. - ✅ No modification of existing network request code needed. All network requests done through the standard Networking APIs will have the certificate pinning configuration automatically enabled after initialization. - ✅ Compatible with Flipper Network plugin for easier debugging of network requests. 🧰Installation React Native OR for Yarn use: Before building for iOS, make sure to run the following commands: Expo Managed Workflow and then follow the steps to create a development build or production build Disable expo-dev-client Network Inspector on iOS (Optional) If you are building an iOS Expo development build and want to test out your pinning configuration, you will need to disable expo-dev-client 's network inspector as it interferes with the pinning setup. Note that the network inspector is automatically disabled on production builds and so this library would function properly on production builds without needing to go through the following steps. 1. Install expo-build-properties 2. Add the following plugin configuration to your app.json 3. Run prebuild to update native files 🚀Usage 1. Retrieve th","default_branch":null,"files":null,"tree":[],"storefront":"/r/frw","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/frw/react-native-ssl-public-key-pinning/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}