Geolocation not working on phone
Where is this set? enableHighAccuracy ????
I am having the same issue gps not working. its enabled on my phone
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Where is this set? enableHighAccuracy ????
I am having the same issue gps not working. its enabled on my phone
Hello!
It is in Geolocation service settings.
Thanks a lot Maryna
Hi
I am also facing the same error na d i tried it in xiaomi mi3 and samsung galaxy s5.In both the devices it is throwing Position retrieval timeout and after increasing the time out the issue is still not resolving
Ashish,
Could you please share your project with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a , tell us its name and steps to reproduce http://docs.appery.io/documentation/s...
Hi i'm having a problem with geolocation too.
my app was working properly till some week ago both on desktop and devices. But now if i run the app on the desktop the geolocation service work if i test the app on android and iphone device it doesn't wor.
i tried by changin the enablinghighaccuracy to true and false, by changing the timeout duration, by invoking the service on onload and on page show events, but the geolocation service always fails
Hello Ciccio,
Could you please clarify, do you have any errors when you test it in browser? Also please specify on iphone you test it as installed .ipa file?
hello eugene
the apk is working fine on my android s2, note2 phones.
but the geolocation service is still not working and always going on fail on iphone 5s with the ios8.1 (even if i restore an old version of my project and i try tu run it on the same iphone i get a question by the app asking if i want to give my coordinates to the app and the geolocation service works)
i also tried to don't invocke the geolocation service and i used
codeif (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(showPosition);
} else {
MessageDialog( 'Simet spa', 'Attenzione', 'Problemi nel calcolo della posizione corrente' );
Code: Select all
}
function showPosition(position) {
localStorage.setItem('my_lat', position.coords.latitude);
localStorage.setItem('my_lon', position.coords.longitude);
}/code
bu this code is working on the descktop but it does not when i try to install the ipa
Hello!
I am sorry for delay!
Is there an error when function navigator.geolocation.getCurrentPosition(showPosition); is executed? Or it stops before this function execution? Looks like problem on Cordova side http://stackoverflow.com/questions/24...