breautek commented on issue #277: URL: https://github.com/apache/cordova-plugin-geolocation/issues/277#issuecomment-2092952245
Cannot reproduce using `watchPosition` or `getCurrentPosition`: ``` navigator.geolocation.watchPosition((e) => { console.log(e); }, (error) => { console.log(error); }, { enableHighAccuracy: true }); ``` There will be a cycle of pause and resume events as the native dialog is presented that's normal. Your app will be paused when the native dialog is presented, and resumed when it's dismissed. It does not do an infinite loop using the code sample above. Upon rejecting the permission I get the error event signaling a permission denied as expected. App becomes responsive. The noted issue is likely occurring outside of this plugin. So closing as won't fix / not a bug. If you still believe there is a bug within the geolocation plugin, then please fill out the issue form and provide a sample reproduction application. -- 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. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org