I created a PhoneGap app for iPhone that uses geolocation via JavaScript inside webview.
When I run the app the first time, it\'ll prompt me to allow geolocation for
Finally fixed the issue.
IN the index.html just move your cordova.js up
as the first js file to be included (especially make sure it is above maps include js). This will make sure that the prompt shows only once