You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/04/26 10:21:59 UTC

[GitHub] [cordova-plugin-geolocation] katzlbt commented on issue #224: iOS 14: watchPosition stops working when the App is suspended and reactivated

katzlbt commented on issue #224:
URL: https://github.com/apache/cordova-plugin-geolocation/issues/224#issuecomment-826713368


   > It's frustrating because my work-around is to call getCurrentPosition every 5000ms (using setInterval) but my users are complaining that the location updating is noticeably worse between the previous and current version.
   
   This workaround shuts down the GPS after every getCurrentPosition() potentially requiring a new warmup. You need to apply my patch and use watchPosition() instead: https://github.com/apache/cordova-plugin-geolocation/pull/225/commits/4d5a5b4e9ceb2cbead06c63572e83b9c82d63349
   
   > location updating is noticeably worse between the previous and current version.
   
   Version of what? CDVLocation.m has not changed for years, but iOS has changed more often.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



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