title: navigator.geolocation.getCurrentPosition not working
body: <p>I can't seem to get <code>navigator.geolocation</code> to work. It goes into the error function with error code 3, and error message "Location request timed out" What is my code below doing wrong?</p>
  
  <pre><code>import { AppRegistry } from 'react-native'
  import { App } from './src'
  
  var options = {
      enableHighAccuracy: true,
      timeout: 5000,
      maximumAge: 0
    };
  
    function success(pos) {
      var crd = pos.coords;
  
      console.log('Your current position is:');
      console.log(`Latitude : ${crd.latitude}`);
      console.log(`Longitude: ${crd.longitude}`);
      console.log(`More or less ${crd.accuracy} meters.`);
    }
  
    function error(err) {
      console.warn(`ERROR(${err.code}): ${err.message}`);
    }
  
    navigator.geolocation.getCurrentPosition(success, error, options);
  
  GLOBAL.XMLHttpRequest = GLOBAL.originalXMLHttpRequest || GLOBAL.XMLHttpRequest
  console.error = (error) =&gt; error.apply
  AppRegistry.registerComponent('vepo', () =&gt; App)
  </code></pre>