plugins icon indicating copy to clipboard operation
plugins copied to clipboard

[@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.

Open armourjami opened this issue 4 months ago • 0 comments

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?

armourjami avatar Oct 23 '24 03:10 armourjami