Release Notes

Version 0.48.0 - 20/02/2024

General

Deprecations

  • Deprecate the com.tomtom.sdk.vehicle.ConnectorType.type property.
  • Deprecate the com.tomtom.sdk.vehicle.CurrentType.type property.

New features

  • Add HTTP-core with interceptor support.

Fixes

  • Do not throw NullPointerException when trying to convert android.location.Location to com.tomtom.sdk.location.GeoLocation in com.tomtom.sdk.common.android.LocationMapper when Location.getProvider() returns null.

Map

Updates

  • com.tomtom.sdk.map.display.style.DRIVING_LANE_LEVEL is now available as Experimental API.
  • Enable off-route traffic flow and incidents for the premium map display engine.

Breaking changes

  • Remove com.tomtom.sdk.datamanagement.nds.update.NdsStoreUpdateConfig.AutomaticUpdatesConfiguration. Rename com.tomtom.sdk.datamanagement.nds.update.NdsStoreUpdateConfig to com.tomtom.sdk.datamanagement.nds.update.NdsStoreUpdaterConfiguration. Add com.tomtom.sdk.datamanagement.nds.update.AutomaticMapOperationConfiguration field to com.tomtom.sdk.datamanagement.nds.update.NdsStoreUpdaterConfiguration.

New features

  • Introduce a new API NdsStoreUpdater.calculateUninstallSize(). [NAVIGATION][FEATURE] Introduce a new API CompositeRegionsUpdater.calculateUninstallSize()

Fixes

  • com.tomtom.sdk.navigation.ui.NavigationListener.onStarted() not being called on subsequent navigation starts.
  • Add missing step to the Navigation project setup instruction about defining the apiKey variable in build.gradle.kts.
  • Compensate the announcement distance by audio duration and current speed.
  • Ensure that TomTomNavigation events are issued on the main thread in a safe manner.

Updates

  • Add. com.tomtom.sdk.datamanagement.nds.update.automatic.AutomaticNdsStoreUpdaterConfiguration, com.tomtom.sdk.datamanagement.nds.update.automatic.AutomaticNdsStoreUpdaterConfiguration.AllRegions, com.tomtom.sdk.datamanagement.nds.update.automatic.AutomaticNdsStoreUpdaterConfiguration.RelevantRegions, com.tomtom.sdk.datamanagement.nds.update.automatic.AutomaticNdsStoreUpdaterConfiguration.RegionsAlongRoute.
  • Navigation no longer use LocationProvider.lastKnownLocation at start.

Routing

Breaking changes

  • Class com.tomtom.sdk.routing.range.online.OnlineRangeCalculator is now internal. Use com.tomtom.sdk.routing.range.online.OnlineRangeCalculatorFactory instead.

New features

  • Add standard comparison operator support to Consumption type.
  • New field in Route object: plannedWith, exposing usedRoutePlanningOptions.

Updates

  • Clarified the documentation for TrafficSection IDs.
  • Create com.tomtom.sdk.routing.range.online.OnlineRangeCalculatorFactory and com.tomtom.sdk.routing.range.offline.OfflineRangeCalculatorFactory objects.
  • Fill isManeuver property of LaneSection for offline routing.

New features

  • Add poiId to location.poi.Poi for OfflineSearch.
  • Add poiId to location.poi.Poi for OnlineSearch.

Fixes

  • Support deserialization of the municipality subdivision as an entity type.

Updates

  • Make close operation in search synchronous.