We are building a react native 0.61.4 app and we want to use the library react-native-ssl-pinning. There is a problem with ios certificate and fetch returns error "cancelled" when running on ios.
We have followed the steps from https://www.npmjs.com/package/react-native-ssl-pinning .I am not sure about the step two at Usage ios: (skip this if you are using certificate pinning) no extra step needed for public key pinning, AFNetworking will extract the public key from the certificate.
Any thoughts about what might have been wrong?