title: React Native Webview NSURLErrorDomain 1022
body: <p>I'm trying to display custom urls (they are not the ones in the exceptions domains, they are others and I don't always know their domain) in a web view component but can't seem to fix Apple's error 1022 : <code>The resource could not be loaded because the App Transport Security policy requires the use of a secure connection</code></p>
  
  <p>My <code>Info.plist</code> file has the following : </p>
  
  <pre><code>  &lt;key&gt;NSAppTransportSecurity&lt;/key&gt;
    &lt;dict&gt;
      &lt;key&gt;NSAllowsArbitraryLoads&lt;/key&gt;
      &lt;true/&gt;
      &lt;key&gt;NSExceptionDomains&lt;/key&gt;
      &lt;dict&gt;
          &lt;key&gt;akamaihd.net&lt;/key&gt;
          &lt;dict&gt;
              &lt;key&gt;NSExceptionRequiresForwardSecrecy&lt;/key&gt;
              &lt;false/&gt;
              &lt;key&gt;NSIncludesSubdomains&lt;/key&gt;
              &lt;true/&gt;
          &lt;/dict&gt;
          &lt;key&gt;facebook.com&lt;/key&gt;
          &lt;dict&gt;
              &lt;key&gt;NSExceptionRequiresForwardSecrecy&lt;/key&gt;
              &lt;false/&gt;
              &lt;key&gt;NSIncludesSubdomains&lt;/key&gt;
              &lt;true/&gt;
          &lt;/dict&gt;
          &lt;key&gt;fbcdn.net&lt;/key&gt;
          &lt;dict&gt;
              &lt;key&gt;NSExceptionRequiresForwardSecrecy&lt;/key&gt;
              &lt;false/&gt;
              &lt;key&gt;NSIncludesSubdomains&lt;/key&gt;
              &lt;true/&gt;
          &lt;/dict&gt;
          &lt;key&gt;needl-app.com&lt;/key&gt;
          &lt;dict&gt;
              &lt;key&gt;NSIncludesSubdomains&lt;/key&gt;
              &lt;true/&gt;
              &lt;key&gt;NSTemporaryExceptionAllowsInsecureHTTPLoads&lt;/key&gt;
              &lt;true/&gt;
          &lt;/dict&gt;
    &lt;/dict&gt;
  &lt;/dict&gt;
  </code></pre>
  
  <p>What am I doing wrong ?</p>