nbrignol commented on issue #244: URL: https://github.com/apache/cordova-plugin-geolocation/issues/244#issuecomment-1006410849
No, lData is not null so the error callback seems to be called with PERMISSIONDENIED (=1). But still it's hard to find out ... I guess we need - at least to document that (ios quirk : when you receive an error=1, the location service is stopped by the plugin so you should restart it when needed) - or you let the responsability to stop the service in the JS side (and document it : ios quirk : when you receive an error=1 the apple guideline ask you to stop the service) - or add another callback "locationServiceStopped" to simplify the handling of the restart. What do you think ? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
