Mapbox Navigation SDK 2.2.0-beta.1
Pre-release
Pre-release
·
1288 commits
to main
since this release
Mapbox Navigation SDK 2.2.0-beta.1 - December 17, 2021
For details on how v2 differs from v1 and guidance on migrating from v1 of the Mapbox Navigation SDK for Android to the v2 public preview, see 2.0 Navigation SDK Migration Guide.
Changelog
Features
- Added support for Mapbox designed route shields. #5145
- To access the newly introduced
MapboxRouteShieldApi
independently of theMapboxManeuverApi
, add the dependency to your project:implementation "com.mapbox.navigation:ui-shields:{nav_sdk_version}"
- To access the newly introduced
- Added methods in
MapboxRouteLineView
to change the visibility of the route traffic layers. #5283
Bug fixes and improvements
- Fixed: crashes and waypoints accumulation during rerouting. #5261
- Added
MapboxDistanceUtil
which moves some of the implementation fromMapboxDistanceFormatter
so that the calculation of the distance rounding and the accompanying text is separated from the SpannableString construction done inMapboxDistanceFormatter
. #5182 - Bumped
targetSdkVersion
to31
. #5259 - Fixed empty profile in feedback events. #5256
- Added support for orientation changes for granular
LifecycleOwner
s to theMapboxNavigationApp
. #5234
Mapbox dependencies
This release depends on, and has been tested with, the following Mapbox dependencies:
- Mapbox Maps SDK
v10.2.0
(release notes) - Mapbox Navigation Native
v82.0.1
- Mapbox Core Common
v21.0.1
- Mapbox Java
v6.2.0-beta.2
(release notes) - Mapbox Android Core
v5.0.0
- Mapbox Android Telemetry
v8.1.0