Skip to content

Releases: mapbox/mapbox-navigation-android

Mapbox Navigation SDK 2.13.0

12 May 10:48
2f7cc7a
Compare
Choose a tag to compare

Mapbox Navigation SDK 2.13.0 - 12 May, 2023

Changelog

Changes between v2.12.0 and v2.13.0

Features

  • Added RouteProgress#nextLegWaypoint to be used in ArrivalObserver#onWaypointArrival to understand which waypoint the user has arrived at. #7096

Bug fixes and improvements

  • Improved quality of continuous alternatives, now the mechanism respects routes from current navigation session. #7137
  • Improved EV offline navigation, now it fallbacks to a regular onboard routing. #7137
  • Improved location simulation when DR ends, i.e. when a driver leaves a tunnel. #7137
  • Fixed an issue where the route lines didn't apply RouteLineResources's custom scale expressions correctly. #7132
  • Fixed an issue where route lines could flicker when MapboxRouteLineOptions where changed and re-applied to rebuilt MapboxRouteLineView and MapboxRouteLineApi instances. #7140
  • Deprecated MapboxNavigation#setRerouteController method. Using custom rerouting logic is now deprecated. #7129
  • Introduced MapboxNavigation#setRerouteEnabled to disable/enable reroutes instead of using custom reroute controller. By default rerouting is enabled. #7129
  • Fixed an issue where NavigationCamera animations would stop executing if experimental AnimationThreadController.useBackgroundThread() option was enabled. #7143
  • Fixed an issue where DirectionsRoute#duration ignored charge time after refresh operation. #7121
  • Fixed first voice instruction being pronounced in offline mode when using either Drop-In UI or MapboxAudioGuidance. #7072
  • Corrected a bug that mistakenly identified off-road movement when users exited tunnels or moved alongside the road. #7111
  • Enabled dead reckoning for the auto profile in case of signal loss on a bridge. #7111
  • Improved the accuracy of active guidance for the auto profile by increasing the route stickiness. #7111
  • Introduced a custom configuration option to disable interactions with all route tiles. #7111
  • Implemented a mechanism that allows the local road graph data updates to be rolled back in case of data problems. #7111
  • Fixed an issue where NavigationRouterCallback might have been invoked twice. #7086
  • Fixed an issue where long route calculation might have failed. #7086
  • Added a custom config boolean option disableAccessToRoutingTiles to disable all route tiles interaction. #7086
  • Improved inactive leg independent styling: now the inactive leg will be styled differently right away, not only when the route progress updates begin. #7078
  • Added optional parameter initialLegIndex to MapboxRouteLineAPI#setNavigationRouteLines and MapboxRouteLineAPI#setNavigationRoutes to explicitly specify which leg is active, 0 by default. #7078

Known issues ⚠️

  • Route refresh base URL is not set via RouteOptions#baseUrl. Instead, NavigationOptions#routingTilesOptions#tilesBaseUri is used for refresh.

Mapbox dependencies

This release depends on, and has been tested with, the following Mapbox dependencies:

  • Mapbox Maps SDK v10.13.0 (release notes)
  • Mapbox Navigation Native v132.2.0
  • Mapbox Core Common v23.5.0
  • Mapbox Java v6.11.0 (release notes)

Mapbox Navigation SDK 2.12.1

11 May 15:37
bfa750a
Compare
Choose a tag to compare

Mapbox Navigation SDK 2.12.1 - 11 May, 2023

Changelog

Changes between v2.12.0 and v2.12.1

Features

Bug fixes and improvements

  • Internal improvements.

Known issues ⚠️

  • Route refresh base URL is not set via RouteOptions#baseUrl. Instead, NavigationOptions#routingTilesOptions#tilesBaseUri is used for refresh.

Mapbox dependencies

This release depends on, and has been tested with, the following Mapbox dependencies:

  • Mapbox Maps SDK v10.12.1 (release notes)
  • Mapbox Navigation Native v130.2.0
  • Mapbox Core Common v23.4.0
  • Mapbox Java v6.11.0 (release notes)

Mapbox Navigation SDK 2.13.0-rc.1

29 Apr 09:43
676d4c1
Compare
Choose a tag to compare
Pre-release

Mapbox Navigation SDK 2.13.0-rc.1 - 29 April, 2023

Changelog

Changes between v2.13.0-beta.1 and v2.13.0-rc.1

Features

Bug fixes and improvements

  • Improved quality of continuous alternatives, now the mechanism respects routes from current navigation session. #7137
  • Improved EV offline navigation, now it fallbacks to a regular onboard routing. #7137
  • Improved location simulation when DR ends, i.e. when a driver leaves a tunnel. #7137
  • Fixed an issue where the route lines didn't apply RouteLineResources's custom scale expressions correctly. #7132
  • Fixed an issue where route lines could flicker when MapboxRouteLineOptions where changed and re-applied to rebuilt MapboxRouteLineView and MapboxRouteLineApi instances. #7140
  • Deprecated MapboxNavigation#setRerouteController method. Using custom rerouting logic is now deprecated. #7129
  • Introduced MapboxNavigation#setRerouteEnabled to disable/enable reroutes instead of using custom reroute controller. By default rerouting is enabled. #7129
  • Fixed an issue where NavigationCamera animations would stop executing if experimental AnimationThreadController.useBackgroundThread() option was enabled. #7143
  • Fixed an issue where DirectionsRoute#duration ignored charge time after refresh operation. #7121

Known issues ⚠️

  • Route refresh base URL is not set via RouteOptions#baseUrl. Instead, NavigationOptions#routingTilesOptions#tilesBaseUri is used for refresh.

Other changes

Mapbox dependencies

This release depends on, and has been tested with, the following Mapbox dependencies:

  • Mapbox Maps SDK v10.13.0-rc.1 (release notes)
  • Mapbox Navigation Native v132.0.0
  • Mapbox Core Common v23.5.0-rc.1
  • Mapbox Java v6.11.0 (release notes)

Mapbox Navigation SDK 2.13.0-beta.1

14 Apr 13:20
9da2a96
Compare
Choose a tag to compare
Pre-release

Mapbox Navigation SDK 2.13.0-beta.1 - 14 April, 2023

Changelog

Changes between v2.12.0 and v2.13.0-beta.1

Features

  • Added RouteProgress#nextLegWaypoint to be used in ArrivalObserver#onWaypointArrival to understand which waypoint the user has arrived at. #7096

Bug fixes and improvements

  • Fixed first voice instruction being pronounced in offline mode when using either Drop-In UI or MapboxAudioGuidance. #7072
  • Corrected a bug that mistakenly identified off-road movement when users exited tunnels or moved alongside the road. #7111
  • Enabled dead reckoning for the auto profile in case of signal loss on a bridge. #7111
  • Improved the accuracy of active guidance for the auto profile by increasing the route stickiness. #7111
  • Introduced a custom configuration option to disable interactions with all route tiles. #7111
  • Implemented a mechanism that allows the local road graph data updates to be rolled back in case of data problems. #7111
  • Fixed an issue where NavigationRouterCallback might have been invoked twice. #7086
  • Fixed an issue where long route calculation might have failed. #7086
  • Added a custom config boolean option disableAccessToRoutingTiles to disable all route tiles interaction. #7086
  • Improved inactive leg independent styling: now the inactive leg will be styled differently right away, not only when the route progress updates begin. #7078
  • Added optional parameter initialLegIndex to MapboxRouteLineAPI#setNavigationRouteLines and MapboxRouteLineAPI#setNavigationRoutes to explicitly specify which leg is active, 0 by default. #7078

Known issues ⚠️

  • Route refresh base URL is not set via RouteOptions#baseUrl. Instead, NavigationOptions#routingTilesOptions#tilesBaseUri is used for refresh.

Other changes

Mapbox dependencies

This release depends on, and has been tested with, the following Mapbox dependencies:

  • Mapbox Maps SDK v10.13.0-beta.1 (release notes)
  • Mapbox Navigation Native v131.0.0
  • Mapbox Core Common v23.5.0-beta.1
  • Mapbox Java v6.11.0 (release notes)

Mapbox Navigation SDK 2.10.4

13 Apr 15:08
f197efd
Compare
Choose a tag to compare

Mapbox Navigation SDK 2.10.4 - 13 April, 2023

Changelog

Changes between v2.10.3 and v2.10.4

Features

Bug fixes and improvements

Known issues ⚠️

  • Route refresh base URL is not set via RouteOptions#baseUrl. Instead, NavigationOptions#routingTilesOptions#tilesBaseUri is used for refresh.

Mapbox dependencies

This release depends on, and has been tested with, the following Mapbox dependencies:

  • Mapbox Maps SDK v10.10.3 (release notes)
  • Mapbox Navigation Native v123.3.3
  • Mapbox Core Common v23.2.3
  • Mapbox Java v6.10.0 (release notes)

Mapbox Navigation SDK 2.12.0

07 Apr 10:13
f95b7d1
Compare
Choose a tag to compare

Mapbox Navigation SDK 2.12.0 - 07 April, 2023

Changelog

Changes between v2.11.0 and v2.12.0

Features

  • Added support for voice languages in offline: Lithuanian, Hungarian, Finnish, Serbian, Greek, Czech, and Slovak. #7061
  • Introduced RoutesRenderedCallback along with overloads to MapboxRouteLineView#renderRouteDrawData and MapboxRouteLineView#renderClearRouteLineValue to notified whenever the routes are rendered on map / cleared from map. #7058
  • Introduced FollowingCameraFramingStrategy, an interface that defines a strategy used to calculate points to be framed for the FOLLOWING camera mode. Added FollowingFrameOptions.framingStrategy property that allows injection of custom FollowingCameraFramingStrategy. #7041
  • Introduced MapboxRouteLineOptions#lineDepthOcclusionFactor parameter to control route line layer opacity based on occlusion from 3D objects. #7038
  • Added RouteRefreshController#pauseRouteRefreshes and RouteRefreshController#resumeRouteRefreshes to pause and resume planned route refreshes correspondingly. #6976
  • Added RouteRefreshController interface to manage route refreshes. Retrieve it via MapboxNavigation#routeRefreshController. #6610
  • Added RouteRefreshController#requestImmediateRouteRefresh to trigger route refresh request immediately. #6610
  • Moved MapboxNavigation#registerRouteRefreshStateObserver to RouteRefreshController#registerRouteRefreshStateObserver. To migrate, change: #6610
    mapboxNavigation.registerRouteRefreshStateObserver(observer)
    to
    mapboxNavigation.routeRefreshController.registerRouteRefreshStateObserver(observer)
  • Moved MapboxNavigation#unregisterRouteRefreshStateObserver to RouteRefreshController#unregisterRouteRefreshStateObserver. To migrate, change: #6610
    mapboxNavigation.unregisterRouteRefreshStateObserver(observer)
    to
    mapboxNavigation.routeRefreshController.unregisterRouteRefreshStateObserver(observer)

Bug fixes and improvements

  • Fixed an issue where NavigationRouterCallback might have been invoked twice. #7087
  • Fixed an issue where long route calculation might have failed. #7087
  • Added a custom config boolean option disableAccessToRoutingTiles to disable all route tiles interaction. #7087
  • Fixed Native crash signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) that may happen at libmapbox-common.so at SqlitePersistentStorage#createQuery. #7061
  • Fixed the case when ReplayLocationEngine returned outdated location at the beginning of a new replay trip session. #7022
  • Fixed false off-road detection on turns. #7046
  • Updated off-road detector for automotive to stay on road even if we are further than 10 meters from the road. #7046
  • Improved cache key performance for NavigationRoutes in order to address ANR experienced when setting long routes. #6915
  • Fixed "global reference table overflow" by reducing the amount of objects transferred through the JNI on every route progress update. #7030
  • Improved MapboxRouteLineView to prevent a flash of rendered route geometries on the map when the view instance is recreated to apply new MapboxRouteLineOptions. #7043
  • Fixed memory consumption issue on onboard router request cancellation. #7029
  • Fixed route progress vanishing point update issue introduced by feature that displays the active leg of the route line above inactive legs for multi-leg routes. #6974
  • Fixed an ANR caused by Copilot processing long routes. #6978
  • Fixed revealing of access token in the logs during tiles downloading. #6966
  • Optimized RAM usage for onboard routing. #6966
  • Increased the distance at which the navigator discards passed alternative route in NavigationRouteAlternativesObserver#onRouteAlternatives. This reduces the chance of discarding alternative routes to which a driver deviated from the primary route. #6966
  • Improved duration calculation for EV routes to account for charging time. #6986
  • Added snapping feature to the navigation for walking and cycling profiles. #6986
  • Started invalidating passed alternatives conditionally on the fork structure. #6986
  • Started using offline router if server returns 404 or 403. #6986
  • Increased the distance at which the navigator discards passed alternative route in NavigationRouteAlternativesObserver#onRouteAlternatives. This reduces the chance of discarding alternative routes to which a driver deviated from the primary route. #6986
  • Fixed a possible native crash in ElectronicHorizonObserver on application exit. #6986
  • Fixed redundant memory usage for onboard router. #6986
  • Fixed inconsistent choice between re-route and switching to alternative due to the fact that the alternative was not checked on every off-route state. #6986
  • Fixed a crash caused by segfault "wstring_convert: from_bytes" error for HTTP responses. #6986
  • Made costing algorithms using lightweight info about road graph (should improve performance). #6986
  • Switched all realtime sensitive operations onto a separate thread instead of low-prioritised background thread pool. No long status delays should happen in the future. #6986

Known issues ⚠️

  • Route refresh base URL is not set via RouteOptions#baseUrl. Instead, NavigationOptions#routingTilesOptions#tilesBaseUri is used for refresh.

Mapbox dependencies

This release depends on, and has been tested with, the following Mapbox dependencies:

  • Mapbox Maps SDK v10.12.1 (release notes)
  • Mapbox Navigation Native v130.1.0
  • Mapbox Core Common v23.4.0
  • Mapbox Java v6.11.0 (release notes)

Mapbox Navigation SDK 2.12.0-rc.1

31 Mar 16:16
480a106
Compare
Choose a tag to compare
Pre-release

Mapbox Navigation SDK 2.12.0-rc.1 - 31 March, 2023

Changelog

Changes between v2.12.0-beta.3 and v2.12.0-rc.1

Features

  • Added support for voice languages in offline: Lithuanian, Hungarian, Finnish, Serbian, Greek, Czech, and Slovak. #7061
  • Introduced RoutesRenderedCallback along with overloads to MapboxRouteLineView#renderRouteDrawData and MapboxRouteLineView#renderClearRouteLineValue to notified whenever the routes are rendered on map / cleared from map. #7058

Bug fixes and improvements

  • Fixed Native crash signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) that may happen at libmapbox-common.so at SqlitePersistentStorage#createQuery. #7061

Known issues ⚠️

  • Route refresh base URL is not set via RouteOptions#baseUrl. Instead, NavigationOptions#routingTilesOptions#tilesBaseUri is used for refresh.

Other changes

Mapbox dependencies

This release depends on, and has been tested with, the following Mapbox dependencies:

  • Mapbox Maps SDK v10.12.1 (release notes)
  • Mapbox Navigation Native v130.0.0
  • Mapbox Core Common v23.4.0
  • Mapbox Java v6.11.0 (release notes)

Mapbox Navigation SDK 2.12.0-beta.3

24 Mar 16:21
49c7287
Compare
Choose a tag to compare
Pre-release

Mapbox Navigation SDK 2.12.0-beta.3 - 24 March, 2023

Changelog

Changes between v2.12.0-beta.2 and v2.12.0-beta.3

Features

  • Introduced FollowingCameraFramingStrategy, an interface that defines a strategy used to calculate points to be framed for the FOLLOWING camera mode. Added FollowingFrameOptions.framingStrategy property that allows injection of custom FollowingCameraFramingStrategy. #7041
  • Introduced MapboxRouteLineOptions#lineDepthOcclusionFactor parameter to control route line layer opacity based on occlusion from 3D objects. #7038

Bug fixes and improvements

  • Fixed the case when ReplayLocationEngine returned outdated location at the beginning of a new replay trip session. #7022
  • Fixed false off-road detection on turns. #7046
  • Updated off-road detector for automotive to stay on road even if we are further than 10 meters from the road. #7046
  • Improved cache key performance for NavigationRoutes in order to address ANR experienced when setting long routes. #6915
  • Fixed "global reference table overflow" by reducing the amount of objects transferred through the JNI on every route progress update. #7030
  • Improved MapboxRouteLineView to prevent a flash of rendered route geometries on the map when the view instance is recreated to apply new MapboxRouteLineOptions. #7043

Known issues ⚠️

  • Native crash signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) may happen at libmapbox-common.so at SqlitePersistentStorage#createQuery.
  • Route refresh base URL is not set via RouteOptions#baseUrl. Instead, NavigationOptions#routingTilesOptions#tilesBaseUri is used for refresh.

Other changes

Mapbox dependencies

This release depends on, and has been tested with, the following Mapbox dependencies:

  • Mapbox Maps SDK v10.12.0-rc.1 (release notes)
  • Mapbox Navigation Native v129.0.0
  • Mapbox Core Common v23.4.0-rc.1
  • Mapbox Java v6.11.0 (release notes)

Mapbox Navigation SDK 2.12.0-beta.2

17 Mar 10:07
1b27492
Compare
Choose a tag to compare
Pre-release

Mapbox Navigation SDK 2.12.0-beta.2 - 17 March, 2023

Changelog

Changes between v2.12.0-beta.1 and v2.12.0-beta.2

Features

Bug fixes and improvements

  • Fixed memory consumption issue on onboard router request cancellation. #7029
  • Fixed route progress vanishing point update issue introduced by feature that displays the active leg of the route line above inactive legs for multi-leg routes. #6974

Known issues ⚠️

  • Route refresh base URL is not set via RouteOptions#baseUrl. Instead, NavigationOptions#routingTilesOptions#tilesBaseUri is used for refresh.

Other changes

Mapbox dependencies

This release depends on, and has been tested with, the following Mapbox dependencies:

  • Mapbox Maps SDK v10.12.0-rc.1 (release notes)
  • Mapbox Navigation Native v128.0.0
  • Mapbox Core Common v23.4.0-rc.1
  • Mapbox Java v6.11.0 (release notes)

androidauto-v0.22.0

16 Mar 17:46
ac57537
Compare
Choose a tag to compare
androidauto-v0.22.0 Pre-release
Pre-release

androidauto-v0.22.0 - 16 March, 2023

Changelog

Changes between 0.21.0 and 0.22.0

Features

Bug fixes and improvements

  • Fixed PlacesListOnMapScreen issues when screen changed cause places to disappear #7021
  • Fixed an issue that caused route preview screens to display incorrect route distance. #7031

Mapbox dependencies

This release defines minimum versions for the Mapbox dependencies.