rolinger opened a new issue, #257: URL: https://github.com/apache/cordova-plugin-geolocation/issues/257
# Bug Report A new feature in Xcode 14 is displaying purple warnings about UI Unresponsiveness coming from CDVLocation.m#L89 - this issue seems specific to iOS 16x too. Its a part of the `isLocationServicesEnabled` function. `This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the `-locationManagerDidChangeAuthorization:` callback and checking `authorizationStatus` first.` The warning gets thrown about 50 times too (not certain why though). I and others (on different forums) are experience app freeze/crashes with some getting apps rejected from app store. ## Problem iOS 16 apparently has changed behavior regarding location permission checks - the specific code commented with `iOS 4.x` - so it looks like a fix for iOS 4 and has worked all the way through iOS 15 is now causing issues. ### What is expected to happen? Work cleanly without throwing warnings. ### What does actually happen? Throws the above warning. ### Environment, Platform, Device Mac 13.2.1 Ventura Xcode 14.2 ### Version information Cordova 11 cordova-ios: 6.2.0 iOS: 16.x ## Checklist - [x ] I searched for existing GitHub issues - [x ] I updated all Cordova tooling to most recent version - [x ] I included all the necessary information above -- 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]
