title: How to prevent double prompt for geolocation in Phonegap app?
body: <p>I created a PhoneGap app for iPhone that uses geolocation via JavaScript inside webview.</p>
  
  <p>When I run the app the first time, it'll prompt me to allow geolocation for this app.</p>
  
  <p>When I hit "ok", it'll prompt me again with the same question but this time it states that "index.html" wants permission to use geolocation.</p>
  
  <p>That makes sense because iOS probably wants permission to allow geolocation for the app itself for the first time and the 2nd time the browser wants permission.</p>
  
  <p>However, since doesn't lead to a great user experience:</p>
  
  <p>How can I prevent this double prompt? (I'd be enough if the 2nd prompt could be prevented)</p>