Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[@nativescript/geolocation] iOS - This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the -locationManagerDidChangeAuthorization: callback and checking authorizationStatus first. #604

Open
armourjami opened this issue Oct 23, 2024 · 0 comments

Comments

@armourjami
Copy link

CoreLocation - This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the -locationManagerDidChangeAuthorization: callback and checking authorizationStatus first.

Has Apple changed something that means it doesn't like this Library anymore?

In my application my Info.plist looks like this

   <key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
    <string>Tracks your location and delivery accuracy</string>
    <key>UIBackgroundModes</key>
    <array>
      <string>location</string>
    </array>

I am using @nativescript/geolocation 9.0.0

Is there a plan to move this off the main thread? or can I do something to ensure it doesn't execute on the main thread?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant