title: SSL Pinning on iOS for Ionic Angular Application
body: <p>I have a problem with SSL Pinning on iOS. I was using the following plugin:</p>
  <p><a href="https://github.com/silkimen/cordova-plugin-advanced-http" rel="nofollow noreferrer">https://github.com/silkimen/cordova-plugin-advanced-http</a></p>
  <p>and</p>
  <p><a href="https://ionicframework.com/docs/native/http" rel="nofollow noreferrer">https://ionicframework.com/docs/native/http</a></p>
  <p>This method is working fine for Android. However, with iOS, I am receiving the following error on Xcode:</p>
  <pre><code>Connection 1: default TLS Trust evaluation failed(-9813)
  Connection 1: TLS Trust encountered error 3:-9813
  Connection 1: encountered error(3:-9813)
  </code></pre>
  <p>I am not sure how to fix this problem. I've googled everywhere, and most of the solution is for Android, and not iOS specifically.</p>
  <p>Any help is very much appreciated. Thank you.</p>