title: navigator.geolocation.getCurrentPosition Phonegap - Stop alerts
body: <p>This question has been asked many times, but each answer is the same, yet it doesn't work for me...</p>
  
  <p>When I call navigator.geolocation.getCurrentPosition I get two alert boxes. One native, and the other from the webview (Safari). The general answer is to place the call in the Deviceready call. I am placing it in that listener, yet i still receive two alerts. (the second is very ugly!). </p>
  
  <p>Any ideas on how to fix this??</p>
  
  <pre><code>document.addEventListener('deviceready', function() {
      navigator.geolocation.getCurrentPosition(initialize, onError, { enableHighAccuracy: true });
  }
  </code></pre>
  
  <p>Any help would be great!</p>
  
  <p>Thanks</p>