title: Can't use PhoneGap's geolocaiton API; Safari always used instead. Ugly geolocation prompt appears
body: <p>I have a Sencha app which performs geolocation, and provides a list of nearby venues based on the results.</p>
  
  <p>I am using PhoneGap:Build (the automated service); this point might be of importance. I am not dealing with the PhoneGap files at all - I am letting PhoneGap:Build automatically create the apps for all platforms. So far it has been spectacular.</p>
  
  <p>The problem: I understand that attempting to geolocate before 'deviceready' is triggered may result in a geolocation call using the Safari geolocation instead of the device geolocation. The side-effect I am experiencing is this terrible message prompt:</p>
  
  <pre><code>'/var/mobile/Applications/XXXX-XXXX-XXXX-XXXXXXXXXXX/AppName.app/www/index.html would like to use your current location'
  </code></pre>
  
  <p>Now, this is <em>still</em> happening after I introduce even a 10 second delay - long enough to ensure that PhoneGap has long since been loaded. This is where I am confused. This only happens in iOS; Android build seems fine.</p>
  
  <p>Why am I getting this message? I have the following line in my config.xml:</p>
  
  <pre><code>&lt;feature name="http://api.phonegap.com/1.0/geolocation"/&gt;
  </code></pre>
  
  <p>..Which I figured was sufficient to open up the PhoneGap geolocation API, thus avoiding this horrible message.</p>
  
  <p>I should also note that I get <em>double</em> prompted; the first time geolocation is performed, I get this:</p>
  
  <pre><code>'App Name would like to use your location'
  </code></pre>
  
  <p>Which is then followed by a second message - the ugly one I outlined above.</p>
  
  <p>Why are two prompts being displayed back-to-back? Why not just the first one? I've spent days on this.. completely out of ideas. Please help!</p>