breautek commented on PR #100: URL: https://github.com/apache/cordova-plugin-geolocation/pull/100#issuecomment-1720395403
Upon testing this PR doesn't appear to be working quite as intended. While it does go to `[self.locationManager requestAlwaysAuthorization];` if the plist keys are set appropriately, requesting always authorization is only valid if the app already has when in use granted. Otherwise, this API call behaves as if you're calling requestWhenInUseAuthorization https://developer.apple.com/documentation/corelocation/cllocationmanager/1620551-requestalwaysauthorization?language=objc This kind of flow will make it difficult to actually support "always" state while maintaining the W3C geolocation API specification, which doesn't actually support/declare how to support background use. -- 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]
