title: react native ssl pinning
body: <p>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.</p>
  
  <p>We have followed the steps from <a href="https://www.npmjs.com/package/react-native-ssl-pinning" rel="nofollow noreferrer">https://www.npmjs.com/package/react-native-ssl-pinning</a> .
  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.</p>
  
  <p>Any thoughts about what might have been wrong?</p>