Page 1 of 3

geolocation service returning error

Posted: Tue May 20, 2014 2:10 pm
by Sjef Moling

Everything worked fine, but since a few days geolocation is not working anymore. The service invokes the fail event without a specific error.


geolocation service returning error

Posted: Tue May 20, 2014 2:50 pm
by Serhii Kulibaba

Hello Sjef Molin,

Are you testing your application on device or in browser? Are there any errors in console?


geolocation service returning error

Posted: Tue May 20, 2014 2:53 pm
by Sjef Moling

working in browser, failing in device. No specific errors in the console, the "fail" event of the service is though triggered.


geolocation service returning error

Posted: Tue May 20, 2014 6:08 pm
by Evgene Karachevtsev

Hello Sjef,

What kind of OS do you use? If it is Android, did you change permissions?


geolocation service returning error

Posted: Tue May 20, 2014 6:09 pm
by Sjef Moling

I tried Android (permissions are ok). iOS is not sure if it works.


geolocation service returning error

Posted: Tue May 20, 2014 6:13 pm
by Evgene Karachevtsev

Do you mean you didn't change permissions?


geolocation service returning error

Posted: Tue May 20, 2014 6:18 pm
by Sjef Moling

permissions are correct.


geolocation service returning error

Posted: Tue May 20, 2014 6:52 pm
by Maryna Brodina

Using the following code preApperyio("labelName").text(textStatus);/pre show actual error message in label or just use Weinre debugger http://devcenter.appery.io/documentat... to debug app.


geolocation service returning error

Posted: Wed May 21, 2014 7:16 am
by Sjef Moling

textStatus is undefined if I alert it on complete

by the way, another app of mine is showing the same behaviour


geolocation service returning error

Posted: Wed May 21, 2014 7:16 am
by Sjef Moling

if I log jqXHR to the console the content is "error"