Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

geolocation service not working on iphone

Hello!

I installed app on iPad Air (iOS 8) and it worked for me. Is the problem still reproducible for you?

ciccio
Posts: 0
Joined: Fri Jun 14, 2013 10:40 am

geolocation service not working on iphone

Hi Marina
I followed instructions reported in http://stackoverflow.com/questions/24... as you suggested me in another thread 2days ago so i changed some source files and now the app is working on ios8 phones too.
Thanks

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

geolocation service not working on iphone

Great! Thank you for update!

Manuel Menéndez Román
Posts: 0
Joined: Sat Jun 22, 2013 9:12 am

geolocation service not working on iphone

Hello, I'm having this problem. How did you solve it? The link you provide doesn't seem to have information related to this problem.

Thanks

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

geolocation service not working on iphone

Hi Manuel,

Please provide us more info about your problem.

Also please try to pass this tutorial http://devcenter.appery.io/tutorials/...

Regards.

Manuel Menéndez Román
Posts: 0
Joined: Sat Jun 22, 2013 9:12 am

geolocation service not working on iphone

Hello,
The geolocation used to work fine. I was making other changes to the app and now it doesn't work on iphone. On web and android it works perfectly.

What can it be?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

geolocation service not working on iphone

Hi Manuel,

Please open weinre debugger before run the in iphone and then take a look in console.

If you have there something like:

pre

Channel not fired: onPluginsReady
Channel not fired: onCordovaReady

/pre

That means cordova not run thus you can not use device features..

Here is how to use weinre: http://devcenter.appery.io/documentat...

Regards.

Manuel Menéndez Román
Posts: 0
Joined: Sat Jun 22, 2013 9:12 am

geolocation service not working on iphone

No errors on console at all. I logged a message on geolocation fail, and it's the only thing in console.

Image

I'm using other plugins and device features such as the code scanner, and it works without a problem.

Manuel Menéndez Román
Posts: 0
Joined: Sat Jun 22, 2013 9:12 am

geolocation service not working on iphone

One thing I've noticed, the phone is never asking me for permissions to geolocate

Also, in phone settings, in geolocation, other apps show if the locations is allowed allways, never or when in use, but mine is blank. I've set it manually, but later it's blank again.

Image

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

geolocation service not working on iphone

Hi Manuel,

Please try following:

  1. delete geolocation service.

  2. add geolocation service once again.

  3. add geolocation service datasource on the needed page - and try this datasource to invoke.

  4. Also use "success" and "error" event handlers to see that your service is called.

    Regards.

Return to “Issues”