Page 2 of 3

geolocation service not working on iphone

Posted: Thu Nov 06, 2014 9:57 pm
by Maryna Brodina

Hello!

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


geolocation service not working on iphone

Posted: Thu Nov 06, 2014 10:31 pm
by ciccio

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


geolocation service not working on iphone

Posted: Fri Nov 07, 2014 3:36 pm
by Maryna Brodina

Great! Thank you for update!


geolocation service not working on iphone

Posted: Mon Jan 12, 2015 8:39 pm
by Manuel Menéndez Román

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


geolocation service not working on iphone

Posted: Tue Jan 13, 2015 3:04 am
by Yurii Orishchuk

Hi Manuel,

Please provide us more info about your problem.

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

Regards.


geolocation service not working on iphone

Posted: Tue Jan 13, 2015 8:10 pm
by Manuel Menéndez Román

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?


geolocation service not working on iphone

Posted: Wed Jan 14, 2015 3:53 am
by Yurii Orishchuk

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.


geolocation service not working on iphone

Posted: Wed Jan 14, 2015 11:07 am
by Manuel Menéndez Román

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.


geolocation service not working on iphone

Posted: Wed Jan 14, 2015 11:12 am
by Manuel Menéndez Román

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


geolocation service not working on iphone

Posted: Thu Jan 15, 2015 12:47 am
by Yurii Orishchuk

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.