Page 2 of 3

Geolocation not working on phone

Posted: Tue Mar 11, 2014 7:05 pm
by Nikita

Hi Luca,

Please clarify your problem?


Geolocation not working on phone

Posted: Tue Mar 11, 2014 7:36 pm
by Luca

Hi Nikita, is same Manuel's problem...
If I install on my device (via apk) the geolocalization service doesn't work

I try with this http://docs.appery.io/tutorials/build... but nothing.

Thx,
Luca


Geolocation not working on phone

Posted: Wed Mar 12, 2014 8:33 am
by Luca

Any help?

Thank,
Luca


Geolocation not working on phone

Posted: Wed Mar 12, 2014 9:46 am
by Maryna Brodina

Hello! Sorry, not yet.


Geolocation not working on phone

Posted: Wed Mar 12, 2014 1:17 pm
by Maryna Brodina

Could you clarify does it work in browser? Have you changed any permissions in App settings?


Geolocation not working on phone

Posted: Wed Mar 12, 2014 1:25 pm
by Luca

Hi Maryna, I don't change any permissions

The problem is the same: http://gsfn.us/t/44xvl

The app work fine in browser, but when I install on my android phone and try to get my position the service raise fail event.

Do you have backup sample project?

Thanks,
Luca


Geolocation not working on phone

Posted: Wed Mar 12, 2014 1:34 pm
by Maryna Brodina

Unfortunately we don't have sample project backup. Could you post your public app link?


Geolocation not working on phone

Posted: Wed Mar 12, 2014 1:58 pm
by Luca

Yes : http://appery.io/app/mobile-frame?src...

The problem is when you press "show Me" on phone.

Thanks,
Luca


Geolocation not working on phone

Posted: Wed Mar 12, 2014 2:57 pm
by Maryna Brodina

You have enableHighAccuracy set to true. That means you get accurate data, but it takes more time than specified timeout (up to a few minutes). You can set enableHighAccuracy to false to get approximate coordinates (please note it would work only if there is AGPS available).


Geolocation not working on phone

Posted: Wed Mar 12, 2014 7:16 pm
by Luca

Ciao Maryna,

Many Thanks (Grazie Mille ;),
Luca