-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[ios] Run MGLMapboxEvents setup asynchronously #11784
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps add a blurb to the iOS changelog about reducing startup time.
This change appears to have been applied on top of a somewhat old branch from |
platform/ios/CHANGELOG.md
Outdated
@@ -12,6 +12,7 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT | |||
|
|||
* Fixed an issue where `-[MGLMapView metersPerPixelAtLatitude:]` was removed, but not marked as unavailable. ([#11765](https://github.com/mapbox/mapbox-gl-native/pull/11765)) | |||
* Fixed an issue where selecting an onscreen annotation could move the map unintentionally. ([#11731](https://github.com/mapbox/mapbox-gl-native/pull/11731)) | |||
* Reduced startup time by causing MGLMapboxEvents to be setup asynchronously. (https://github.com/mapbox/mapbox-gl-native/pull/11784) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changelog’s audience is developers who install the SDK. MGLMapboxEvents isn’t a public class, so let’s leave it at:
Improved application launch performance.
This PR is currently scheduled for iOS map SDK v4.1.0, so the branch needs to be rebased atop master. |
Reduces lag from events library setup.