iOS geolocation popup
Thread is closed for posting
Posted 22 Mar 2013
Link to this post
When using my app, I use the cordova geolocation service to determine the users location. I have pushed my app to my development iPhone for the first time (previously always used ion as a shell), and I get an interesting popup message when I launch the app. The very first popup I am OK with it says "<app name> would like to use your current location" with an 'OK' and 'Don't allow' option. Right afterwards I get a similar popup but instead of my app's name it is "/var/mobile/Applications/<guid>/Documents/index.html" ... which needless to say is quite messy on the user experience front ...
Anybody know what causes this or how to avoid it? (I don't mind the popup using my apps name, id rather not have a path to an html file as the requester though)