I'm planning to implement SSL Cert Pinning in one of my react-native project. I came across few libraries in react-native which helps in implementing the certificate pinninghttps://github.com/MaxToyberman/react-native-ssl-pinning. But i'm concerned about the safety of javascript code, as my cert pinning logic might get exposed. Should i use the react-native libraries which actually uses the native code using the bridging or should i implement the Okhttp3 and TrustKit libraries natively in Android and iOS.
↧