prebid / prebid-mobile-ios

Prebid Mobile SDK for iOS applications
Apache License 2.0
48 stars 93 forks source link

Hang on [CLLocationManager _authorizationStatusForBundleIdentifier:bundlePath:] #1033

Open jgorospe248 opened 4 months ago

jgorospe248 commented 4 months ago

Describe the bug The application hangs during the initialization of the PBMLocationManager when it attempts to start location updates. The hang seems to occur when calling [CLLocationManager _authorizationStatusForBundleIdentifier:bundlePath:].

To Reproduce

  1. Go to the part of the application that initializes the location manager.
  2. Start the application.
  3. Wait for the location manager to attempt to start location updates.
  4. Observe the application hanging at this point.

Expected behavior The application should start location updates without hanging, allowing the rest of the initialization process to continue smoothly.

Screenshots

image

Desktop (please complete the following information):

Smartphone (please complete the following information): Device: Any iOS device (example: iPhone12) OS: iOS 15.0 Browser: Not applicable Version: Not applicable

Additional context Note that CLLocationManager.authorizationStatus is deprecated.

PSBT commented 4 weeks ago

We are having the same issue…

Screenshot 2024-10-31 at 8 01 00 AM