You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/08/19 17:44:31 UTC

[GitHub] Danbardo opened a new issue #109: Turning Location services on after timeout

Danbardo opened a new issue #109: Turning Location services on after timeout
URL: https://github.com/apache/cordova-plugin-geolocation/issues/109
 
 
   Hi,
   
   I am currently fixing some kinks with the geolocation in an application I am making.
   
   As soon as the application boots, it calls the getCurrentLocation function.
   
   I have noticed that if I open the application with location services disabled, then turn it on a few second after load, or after a TIMEOUT error, later calls of getCurrentLocation function do not work.
   
   Typically I see that when I run the getCurrentLocation function, the GPS icon flashes in the statusbar of the phone, and the success method is executed. However, if a run the getCurrentLocation function after a TIMEOUT, or loading the application with location services off then turning them on later, the GPS icon does not appear and the error method is executed.
   
   Does anyone have a solution to resolve this behavior?
   
   Thanks

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org