I am using have to use Geo-location in my project for this I am using phonegap/cordova navigator.geolocation.getCurrentPosition function(). The code works fine accept that it displays a dialog box stating "/var/mobile/Applications/...../appname.app/www/index.html would Like To Use Your Current Location". for first two launches of application after installation. At the first run the app also displays a dialog stating "<AppName> Would Like To Access Your Current Location" which is normal.
Can Someone tell me why this unfriendly message is coming and how can I avoid this. I also tried "Ext.util.geolocation", "Ext.device.geolocation" of sencha but everytime I am getting the same result. I am using cordova 3.0 in my project.
I also followed this but solution provided there also didn't worked for me.