Skip to content

Mapbox Navigation SDK 2.2.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@Guardiola31337 Guardiola31337 released this 17 Dec 23:21
· 1288 commits to main since this release
f971698

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 the MapboxManeuverApi, add the dependency to your project:
      implementation "com.mapbox.navigation:ui-shields:{nav_sdk_version}"
      
  • 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 from MapboxDistanceFormatter so that the calculation of the distance rounding and the accompanying text is separated from the SpannableString construction done in MapboxDistanceFormatter. #5182
  • Bumped targetSdkVersion to 31. #5259
  • Fixed empty profile in feedback events. #5256
  • Added support for orientation changes for granular LifecycleOwners to the MapboxNavigationApp. #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