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
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Changes since v2.1.0-rc.2:
Pricing
Packaging
Location tracking
RoutingProviderto 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 useMapboxRoutingProviderto request or refresh routes instead ofDirectionsobject but you may also provide your ownRoutingProviderimplementation toNavigationService,RouteControllerorLegacyRouteController. Usingdirectionsproperty of listed above entities is discouraged, you should use correspondingroutingProviderinstead, albeitDirectionsalso implements the protocol. (Hybrid Router #3261)PassiveLocationManager.rawLocationandPassiveLocationManager.locationproperties to get the latest raw and idealized locations, respectively. (PassiveLocationManager location caching #3474)ReplayLocationManagerwould crash if initialized with just one location. (Support one location in ReplayLocationManager #3528)ReplayLocationManager.replayCompletionHandlerproperty that allows you to loop location. (Support one location in ReplayLocationManager #3528, 3550)RouteControllerNotificationUserInfoKey.headingKeyto the user info dictionary ofNotification.Name.routeControllerWillReroute,Notification.Name.routeControllerDidReroute, andNotification.Name.routeControllerProgressDidChangenotifications. (Respect heading while walking #3620)Router.headingproperty that may contain a heading from the location manager. (Respect heading while walking #3620)ReplayLocationManagerso that it doesn't loop locations by default. (Fix ReplayLocationManager looping; stabilize tests #3550)ReplayLocationManagerdidn't update location timestamps when a new loop started. (Fix ReplayLocationManager looping; stabilize tests #3550).courseViewforNavigationMapView.userLocationStyle. (Stop the location update in the background during active navigation using default course view. #3533)UserPuckCourseViewis trimmed when using custom frame forUserLocationStyle.courseView(_:). (Allow the UserPuckCourseView drawn by the given bounds scale. #3601)NavigationViewController.routeLineTracksTraversalenabled. 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.currentIntersectionwas 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.statusViewandTopBannerViewController.junctionViewproperties. (Allow the customization of TopBannerViewController. #3575)WayNameView.backgroundColorandWayNameView.borderWidthproperties for customizing how the current road name is labeled. (Add functionality, which allows to showWayNameViewon CarPlay during active-guidance and free-drive. #3534)InstructionsBannerViewDelegateandTopBannerViewControllerDelegateprotocols now conform to theVisualInstructionDelegateprotocol. (Allow the customization of TopBannerViewController. #3575)VisualInstructionDelegate.label(_:willPresent:as:)was never called. YourNavigationViewControllerDelegateclass 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.isHiddenproperty totruenow keeps the view hidden even after the user goes onto a named road. (Add functionality, which allows to showWayNameViewon CarPlay during active-guidance and free-drive. #3534)NavigationRouteOptionsandNavigationMatchOptionsnow setDirectionsOptions.distanceMeasurementSystemto a default value matching theNavigationSettings.distanceUnitproperty. (Fix distance measurement system #3541)Map
NavigationViewController.usesNightStyleWhileInTunnelandCarPlayNavigationViewController.usesNightStyleWhileInTunnelproperties, which allow to disable dark style usage, while traversing the tunnels. (Add ability to disable dark style, while traversing through the tunnel. #3559)NavigationMapView.crossfadesCongestionSegmentschanged during active navigation. (Improve vanishing route line test. #3466)NavigationMapView.routeCasingColorinstead ofNavigationMapView.trafficUnknownColorwhen traffic congestion data was missing. (UsetrafficUnknownColorfor 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.averageDistanceMultipliercoefficient. (Fix issues in zoom calculations for cases when maneuver is further away from the current location. #3616)CarPlay
CarPlayActivity.panningInNavigationModecase, which allows to track a state when user is panning a map view while actively navigating. (Add panning functionality forCarPlayNavigationViewController. #3545)SpeedLimitViewandCarPlayCompassViewwhen left-hand traffic mode is used on CarPlay. (Fix issue, which was causing inability to seeSpeedLimitViewandCarPlayCompassViewwhen right-to-left mode is used on CarPlay. #3583)CarPlayMapViewController.wayNameViewandCarPlayNavigationViewController.wayNameViewproperties to show the current road name on CarPlay.CarPlayNavigationViewController.compassView,CarPlayNavigationViewController.speedLimitViewandCarPlayMapViewController.speedLimitVieware kept as strong references, thus available throughout the lifetime of a parent object. (Add functionality, which allows to showWayNameViewon CarPlay during active-guidance and free-drive. #3534)NavigationMapView.crossfadesCongestionSegmentsenabled but congestion color transition is still sharp in CarPlay. (Improve vanishing route line test. #3466)SpeedLimitViewandCarPlayCompassViewfor right-hand traffic mode on CarPlay. (Fix excessive padding on CarPlay during active navigation. #3605)CarPlayNavigationViewController.waypointStyleproperty. (Implement the ability to highlight buildings during active-guidance on CarPlay. #3564)NavigationMapViewinstances from being deallocated after CarPlay is stopped. (Fix car play retain cycle #3552)Other changes
SpeechSynthesizing.managesAudioSessionproperty to control if the speech synthesizer is allowed to manage the sharedAVAudioSession. Set this value to false if you want to enable and disable theAVAudioSessionyourself, for example, if your app plays background music. (Add publicmanagesAudioSessionflag and fixwillSpeaklogic #3572)SpeechSynthesizingDelegate.speechSynthesizer(_:willSpeak:)callback was called at the wrong moment. (Add publicmanagesAudioSessionflag and fixwillSpeaklogic #3572)Locale.usesMetricproperty toLocale.measuresDistancesInMetricUnits.Locale.usesMetricis 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