Page 1 of 1

Geolocation ask for permission iOS

Posted: Wed Sep 25, 2013 9:19 am
by Nick

Hello,
I am developing an application which needs the location of the user in order to function properly.
I have no problems with the geolocation and so on but i have a question regarding the iphone build.

When i start the app on any iOS device (tested on iPad iOS 7 and iPhone iOS 6) i get a confirm alert which asks permission to get my current location. All good till here.
When the first page is loaded (which has the geolocation service on page load), another popup comes up, asking for permission, saying:

"/var/mobile/Applications/D76ADCE1-...-AD^/appname.app/www/project/login_screen.html" Would Like To Use Your Current Location

Is there any way to avoid this popup? Or at least change the message to:
"Appname Would Like To Use Your Current Location"
as it is on the first app load?

Thank you in advance.


Geolocation ask for permission iOS

Posted: Wed Sep 25, 2013 11:12 am
by Maryna Brodina

Hello! Working on it, I'll update.


Geolocation ask for permission iOS

Posted: Wed Sep 25, 2013 11:29 am
by Nick

Thank you :)


Geolocation ask for permission iOS

Posted: Wed Sep 25, 2013 11:35 am
by Maryna Brodina

Please try to invoke Geolocation service on Device ready event instead Load.


Geolocation ask for permission iOS

Posted: Wed Sep 25, 2013 1:02 pm
by Nick

It works, thanks ! You are awesome


Geolocation ask for permission iOS

Posted: Tue Feb 10, 2015 4:24 am
by B510

Hi.. I am facing the same problem on iOS 8 and I already invoke geolocation service on DeviceReady event.. but the problem still occurs..

setTimeout(geolocation1.execute(),500000);

please help

Image


Geolocation ask for permission iOS

Posted: Tue Feb 10, 2015 10:48 am
by Ihor Didevych