Releases: mapbox/mapbox-navigation-ios
Releases · mapbox/mapbox-navigation-ios
v3.9.3
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.12.5
- MapboxNavigationCore now requires MapboxNavigationNative v324.12.5
Other changes
- Fixed code signing validation issues for multiple .xcframework binaries "The signature of "*.xcframework" cannot be validated and may have been compromised".
v3.10.2
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.13.3
- MapboxNavigationCore now requires MapboxNavigationNative v324.13.3
Other changes
- Fixed code signing validation issues for multiple .xcframework binaries "The signature of "*.xcframework" cannot be validated and may have been compromised".
v2.18.5
Packaging
- MapboxCoreNavigation now requires MapboxDirections v2.14.2. (#4776)
Other changes
- Fixed
ProfileIdentifier
comparison for the custom profile identifiers, so that route refresh is enabled for customautomobileAvoidingTraffic
profiles.
Documentation is available online or within Xcode.
v3.11.0-beta.1
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.14.0-beta.1
- MapboxNavigationCore now requires MapboxNavigationNative v324.14.0-beta.1
Map
- Added experimental custom route callouts API accessible when importing MapboxNavigationCore with
@_spi(ExperimentalMapboxAPI) import MapboxNavigationCore
. Enable it by settingNavigationMapView.apiRouteCalloutViewProviderEnabled
totrue
, then configure usingNavigationMapView.routeCalloutViewProvider
property. NewNavigationMapView.showRoutes(_:)
andNavigationMapView.showcaseRoutes(_:routesPresentationStyle:animated:duration:)
methods are available withoutrouteAnnotationKinds
parameter but original methodsNavigationMapView.show(_:routeAnnotationKinds:)
andNavigationMapView.showcase(_:routesPresentationStyle:routeAnnotationKinds:animated:duration:)
also work and theirrouteAnnotationKinds
parameter is ignored whenNavigationMapView.apiRouteCalloutViewProviderEnabled
is set totrue
. - Updated the toll icon in the default route callout view.
- Fixed auto-switching to the dark mode at night when
NavigationViewControllerDelegate.automaticallyAdjustsStyleForTimeOfDay
is set totrue
.
Routing
- Added the ability to disable the server-side control on refreshed route expiration.
- Dead Reckoning is improved - more robust models for GNSS trust, road calibration, and wheel speed trust.
- Improved main thread utilization by removing unintended locks (visible on systems with the overloaded CPU).
Other changes
- Fixed an issue where the
NavigationViewControllerDelegate.navigationViewController(_:didArriveAt:)
was not called for intermediate waypoints. - Fixed an issue where the
distanceUnit
passed to theNavigationRouteOptions
andNavigationMatchOptions
initializers was not correctly applied to thedistanceMeasurementSystem
. - Fixed an issue where the
SessionController.session
was emittingSession
updates with the same value (no state change).
v2.20.0
Other changes
- MapboxNavigation now requires minimim MapboxMaps v10.19.0. (#4750)
- Added movement type reports to Telemetry.
Audio
- Improved
AVAudioSession
handling for playback of the reroute sound and voice instructions. Activation and deactivation ofAVAudioSession
no longer occur on the main thread, and these operations are synchronized. This eliminates UI freezes that occurred to a lesser extent during activation and to a greater extent during deactivation.
API Deprecations
- The extension for AVAudioSession is no longer supported and has been deprecated, which affects the following methods:
AVAudioSession.tryDuckAudio()
AVAudioSession.tryUnduckAudio()
Documentation is available online or within Xcode.
v3.10.1
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.13.1
- MapboxNavigationCore now requires MapboxNavigationNative v324.13.1
Other changes
- Fixed an issue where the
NavigationRoutes
couldn't be created due to too similar alternatives.
v3.10.0
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.13.0
- MapboxNavigationCore now requires MapboxNavigationNative v324.13.0
v3.10.0-rc.1
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.13.0-rc.1
- MapboxNavigationCore now requires MapboxNavigationNative v324.13.0-rc.1
Routing
- Fixed re-enabling route refresh after leg change.
- Fixed route refresh of alternative routes.
v3.9.2
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.12.2
- MapboxNavigationCore now requires MapboxNavigationNative v324.12.2
v3.10.0-beta.1
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.13.0-beta.1
- MapboxNavigationCore now requires MapboxNavigationNative v324.13.0-beta.1
Map
- The SDK now uses Declarative Map Styling by default.
If you want to customize the map content using declarative styling, e.g. to style non-navigation-related content, you should:- set
NavigationMapView.automaticallySetDeclarativeMapContent
tofalse
, - subscribe to the
NavigationMapView.navigationStyleContent
updates, - add
currentNavigationStyleContent
to yourMapStyleContent
, - call
setMapStyleContent(content:)
with new map style content.
- set
For implementation details, refer to the Declarative-Map sample app.
Set NavigationMapView.useLegacyManualLayersOrderApproach
to true
to enable legacy manual layer order calculation.
Pricing
- Fixed a case when the SDK didn't respect
startLegIndex
when checking the waypoints for billing session for multiwaypoint routes. The SDK now correctly supports resuming a previous active guidance billing session whenstartLegIndex
is greater than 0.