title: Cordova Plugin Geolocation Timeout on IOS 11
body: <p>I visited all links about this problem and none helped me.</p>
  
  <p>I get the error code 3 (timeout) in response always when execute the method "getCurrentLocation" from "cordova-plugin-geolocation" on IOS .</p>
  
  <p>follow my code:</p>
  
  <pre><code>getCurrentPosition() {
   return new Promise(function (resolve, reject) {
    document.addEventListener("deviceready", function(){
      navigator.geolocation.getCurrentPosition((position) =&gt; {
        resolve(position);
      }, (error) =&gt; {
        reject(error);
      }, {
        timeout: 10000
      });
    }, false);
   });
  }
  </code></pre>
  
  <p>I upgraded all plugins and engines and the error persisted. 
  Follow my current versions:</p>
  
  <ul>
  <li>cordova 8.0.0;</li>
  <li>cordova-ios 4.5.4;</li>
  <li>cordova-android 7.0.0;</li>
  <li>cordova-plugin-geolocation 4.0.0.</li>
  </ul>