v2.1.1 #3663
Closed
1ec5
announced in
Announcements
v2.1.1
#3663
Replies: 1 comment 1 reply
-
Getting error while running "pod repo update && pod install" with CocoaPods and dependency iOS Mapbox Maps SDK 10.2.0 Error: [!] CocoaPods could not find compatible versions for pod "MapboxCommon":
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Changes since v2.1.0-rc.2:
Pricing
Packaging
Location tracking
RoutingProvider
to parameterize routing fetching and refreshing during active guidance sessions.Directions.calculateWithCache(options:completionHandler:)
andDirections.calculateOffline(options:completionHandler)
functionality is deprecated byMapboxRoutingProvider
. It is now recommended to useMapboxRoutingProvider
to request or refresh routes instead ofDirections
object but you may also provide your ownRoutingProvider
implementation toNavigationService
,RouteController
orLegacyRouteController
. Usingdirections
property of listed above entities is discouraged, you should use correspondingroutingProvider
instead, albeitDirections
also implements the protocol. (Hybrid Router #3261)PassiveLocationManager.rawLocation
andPassiveLocationManager.location
properties to get the latest raw and idealized locations, respectively. (PassiveLocationManager location caching #3474)ReplayLocationManager
would crash if initialized with just one location. (Support one location in ReplayLocationManager #3528)ReplayLocationManager.replayCompletionHandler
property that allows you to loop location. (Support one location in ReplayLocationManager #3528, 3550)RouteControllerNotificationUserInfoKey.headingKey
to the user info dictionary ofNotification.Name.routeControllerWillReroute
,Notification.Name.routeControllerDidReroute
, andNotification.Name.routeControllerProgressDidChange
notifications. (Respect heading while walking #3620)Router.heading
property that may contain a heading from the location manager. (Respect heading while walking #3620)ReplayLocationManager
so that it doesn't loop locations by default. (Fix ReplayLocationManager looping; stabilize tests #3550)ReplayLocationManager
didn't update location timestamps when a new loop started. (Fix ReplayLocationManager looping; stabilize tests #3550).courseView
forNavigationMapView.userLocationStyle
. (Stop the location update in the background during active navigation using default course view. #3533)UserPuckCourseView
is trimmed when using custom frame forUserLocationStyle.courseView(_:)
. (Allow the UserPuckCourseView drawn by the given bounds scale. #3601)NavigationViewController.routeLineTracksTraversal
enabled. When the distance of user location to the route is larger than certain distance threshold, the vanishing effect of route line would stop until the new route line gets generated. (Add distance check to prevent vanishing route line update when users go off the route. #3385)RouteStepProgress.currentIntersection
was always returning invalid value, which in turn caused inability to correctly detect whether specific location along the route is in tunnel, or not. (Add ability to disable dark style, while traversing through the tunnel. #3559)Banners and guidance instructions
TopBannerViewController.lanesView
,TopBannerViewController.nextBannerView
,TopBannerViewController.statusView
andTopBannerViewController.junctionView
properties. (Allow the customization of TopBannerViewController. #3575)WayNameView.backgroundColor
andWayNameView.borderWidth
properties for customizing how the current road name is labeled. (Add functionality, which allows to showWayNameView
on CarPlay during active-guidance and free-drive. #3534)InstructionsBannerViewDelegate
andTopBannerViewControllerDelegate
protocols now conform to theVisualInstructionDelegate
protocol. (Allow the customization of TopBannerViewController. #3575)VisualInstructionDelegate.label(_:willPresent:as:)
was never called. YourNavigationViewControllerDelegate
class can now implement this method to customize the contents of a visual instruction during turn-by-turn navigation. (Allow the customization of TopBannerViewController. #3575)WayNameView.isHidden
property totrue
now keeps the view hidden even after the user goes onto a named road. (Add functionality, which allows to showWayNameView
on CarPlay during active-guidance and free-drive. #3534)NavigationRouteOptions
andNavigationMatchOptions
now setDirectionsOptions.distanceMeasurementSystem
to a default value matching theNavigationSettings.distanceUnit
property. (Fix distance measurement system #3541)Map
NavigationViewController.usesNightStyleWhileInTunnel
andCarPlayNavigationViewController.usesNightStyleWhileInTunnel
properties, which allow to disable dark style usage, while traversing the tunnels. (Add ability to disable dark style, while traversing through the tunnel. #3559)NavigationMapView.crossfadesCongestionSegments
changed during active navigation. (Improve vanishing route line test. #3466)NavigationMapView.routeCasingColor
instead ofNavigationMapView.trafficUnknownColor
when traffic congestion data was missing. (UsetrafficUnknownColor
for route line when no congestion level found. #3577)NavigationMapView.showcase(_:animated:)
was clipping unselected routes by renaming it to theNavigationMapView.showcase(_:routesPresentationStyle:animated:)
, with an optional parameter to control whether the camera fits to unselected routes in addition to the selected route. (Implement the ability to show routes based on style provided inRoutesPresentationStyle
. #3556)IntersectionDensity.averageDistanceMultiplier
coefficient. (Fix issues in zoom calculations for cases when maneuver is further away from the current location. #3616)CarPlay
CarPlayActivity.panningInNavigationMode
case, which allows to track a state when user is panning a map view while actively navigating. (Add panning functionality forCarPlayNavigationViewController
. #3545)SpeedLimitView
andCarPlayCompassView
when left-hand traffic mode is used on CarPlay. (Fix issue, which was causing inability to seeSpeedLimitView
andCarPlayCompassView
when right-to-left mode is used on CarPlay. #3583)CarPlayMapViewController.wayNameView
andCarPlayNavigationViewController.wayNameView
properties to show the current road name on CarPlay.CarPlayNavigationViewController.compassView
,CarPlayNavigationViewController.speedLimitView
andCarPlayMapViewController.speedLimitView
are kept as strong references, thus available throughout the lifetime of a parent object. (Add functionality, which allows to showWayNameView
on CarPlay during active-guidance and free-drive. #3534)NavigationMapView.crossfadesCongestionSegments
enabled but congestion color transition is still sharp in CarPlay. (Improve vanishing route line test. #3466)SpeedLimitView
andCarPlayCompassView
for right-hand traffic mode on CarPlay. (Fix excessive padding on CarPlay during active navigation. #3605)CarPlayNavigationViewController.waypointStyle
property. (Implement the ability to highlight buildings during active-guidance on CarPlay. #3564)NavigationMapView
instances from being deallocated after CarPlay is stopped. (Fix car play retain cycle #3552)Other changes
SpeechSynthesizing.managesAudioSession
property to control if the speech synthesizer is allowed to manage the sharedAVAudioSession
. Set this value to false if you want to enable and disable theAVAudioSession
yourself, for example, if your app plays background music. (Add publicmanagesAudioSession
flag and fixwillSpeak
logic #3572)SpeechSynthesizingDelegate.speechSynthesizer(_:willSpeak:)
callback was called at the wrong moment. (Add publicmanagesAudioSession
flag and fixwillSpeak
logic #3572)Locale.usesMetric
property toLocale.measuresDistancesInMetricUnits
.Locale.usesMetric
is still available but deprecated. (Deprecate custom usesMetric in favor of iOS defined usesMetricSystem #3547)Documentation is available online or within Xcode.
This discussion was created from the release v2.1.1.
Beta Was this translation helpful? Give feedback.
All reactions