Release Notes
Version 0.48.0 - 20/02/2024
Check the API ReferenceGeneral
Deprecations
- Deprecate the
com.tomtom.sdk.vehicle.ConnectorType.typeproperty. - Deprecate the
com.tomtom.sdk.vehicle.CurrentType.typeproperty.
New features
- Add HTTP-core with interceptor support.
Fixes
- Do not throw
NullPointerExceptionwhen trying to convertandroid.location.Locationtocom.tomtom.sdk.location.GeoLocationincom.tomtom.sdk.common.android.LocationMapperwhenLocation.getProvider()returnsnull.
Map
Updates
com.tomtom.sdk.map.display.style.DRIVING_LANE_LEVELis now available as Experimental API.- Enable off-route traffic flow and incidents for the premium map display engine.
Navigation
Breaking changes
- Remove
com.tomtom.sdk.datamanagement.nds.update.NdsStoreUpdateConfig.AutomaticUpdatesConfiguration. Renamecom.tomtom.sdk.datamanagement.nds.update.NdsStoreUpdateConfigtocom.tomtom.sdk.datamanagement.nds.update.NdsStoreUpdaterConfiguration. Addcom.tomtom.sdk.datamanagement.nds.update.AutomaticMapOperationConfigurationfield tocom.tomtom.sdk.datamanagement.nds.update.NdsStoreUpdaterConfiguration.
New features
- Introduce a new API
NdsStoreUpdater.calculateUninstallSize(). [NAVIGATION][FEATURE] Introduce a new APICompositeRegionsUpdater.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
TomTomNavigationevents 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.OnlineRangeCalculatoris now internal. Usecom.tomtom.sdk.routing.range.online.OnlineRangeCalculatorFactoryinstead.
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.OnlineRangeCalculatorFactoryandcom.tomtom.sdk.routing.range.offline.OfflineRangeCalculatorFactoryobjects. - Fill isManeuver property of LaneSection for offline routing.
Search
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.