mapbox / mapbox-events-ios

Mapbox Events Framework for iOS
Other
20 stars 38 forks source link

Fix missing location telemetry events #349

Closed OdNairy closed 1 year ago

OdNairy commented 1 year ago

Due to rescheduling some telemetry event to custom dispatch queue the self.locationManager getter (that includes instantiation logic) was called on the non-main queue. CLLocationManager requires to have NSRunLoop in the constructor thread. Instantiation in non-main queue was an unexpected change

plus:

Fixes https://mapbox.atlassian.net/browse/CORESDK-1286