title: tel: and mailto: links not working on iOS13 only
body: <p>The mailto: and tel: links to launch mail and phone applications in my ionic v2 cordova app don't work on iOS 13.  They work on Android and in earlier versions of iOS an no problem.</p>
  
  <p>I am using cordova 9.0.0 &amp; cordova-ios 5.0.1</p>
  
  <p>Also, in case they're relevant cordova-plugin-whitelist 1.3.3 &amp; cordova-plugin-inappbrowser 3.1.1-dev (to resolve a different iOS13 issue with links not opening using inappbrowser, documented here <a href="https://github.com/OutSystems/cordova-plugin-inappbrowser/pull/9" rel="nofollow noreferrer">https://github.com/OutSystems/cordova-plugin-inappbrowser/pull/9</a>).</p>
  
  <p>I think I have tried all combinations of suggestions in this post (which is long before iOS13 came out), none of them work - <a href="https://stackoverflow.com/questions/41750541/tel-and-sms-links-dont-work-on-ios-under-cordova-in-phonegap">Tel:* and Sms:* links don&#39;t work on ios under cordova in phonegap?</a></p>
  
  <p>My HTML looks like this:</p>
  
  <pre><code>&lt;a class="item item-icon-left item-icon-right dark" href="tel:0044123456789" ng-click="trackTap('Telephone')"&gt;
      &lt;i class="icon ion-ios-telephone"&gt;&lt;/i&gt;
          Give us a call
      &lt;i class="icon ion-ios-arrow-right"&gt;&lt;/i&gt;
  &lt;/a&gt;
  
  &lt;a class="item item-icon-left item-icon-right dark" href="mailto:savings@lynxpurchasing.co.uk" ng-click="trackTap('savings@lynxpurchasing.co.uk')"&gt;
       &lt;i class="icon positive ion-email"&gt;&lt;/i&gt;
           Email us
       &lt;i class="icon ion-ios-arrow-right"&gt;&lt;/i&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>In config.xml I currently have:</p>
  
  <pre><code>    &lt;allow-navigation href="*" /&gt;
      &lt;allow-intent href="http://*/*"/&gt;
      &lt;allow-intent href="https://*/*"/&gt;
      &lt;allow-intent href="tel:*"/&gt;
      &lt;allow-intent href="sms:*"/&gt;
      &lt;allow-intent href="mailto:*"/&gt;
      &lt;allow-intent href="geo:*"/&gt;
  </code></pre>
  
  <p>I've removed:</p>
  
  <pre><code>    &lt;access launch-external="yes" origin="tel:*" /&gt;
      &lt;access launch-external="yes" origin="mailto:*" /&gt;
  </code></pre>
  
  <p>as I believe they are no longer required.</p>
  
  <p>In another page of the app I have:</p>
  
  <pre><code>$http({
      method: 'GET',
      url: 'http://www.domain.co.uk/app/app-json.php',
      timeout: 15000
  })
  </code></pre>
  
  <p>Some posts suggest removing <code>&lt;allow-navigation href="*" /&gt;</code> but if I do that then the $http GET call no longer works on any platform/ OS version (and the issue is not resolved anyway).</p>
  
  <p>When clicking the tel: and mailto: links in the XCode console I see </p>
  
  <blockquote>
    <p>CDVWebViewDelegate: Detected redirect when loadCount=-1</p>
  </blockquote>
  
  <p>but that appears when it works in earlier iOS versions as well, so I don't think it's relevant.</p>
  
  <p>After removing <code>&lt;allow-navigation href="*" /&gt;</code> from the config.xml (and breaking the AJAX call on all devices) I see the following error on iOS 13 when clicking the links:</p>
  
  <blockquote>
    <p>2019-10-06 22:11:28.960247+0100 GPCalc[89217:4657117] [default] Failed to open URL tel:0044123456789: Error Domain=NSOSStatusErrorDomain Code=-10814 "(null)" UserInfo={_LSLine=247, _LSFunction=-[_LSDOpenClient openURL:options:completionHandler:]}</p>
  </blockquote>