Release Notes
Version 1.9.0 - 18/07/2024
Discover the improvements and new features included in the following version. Share your thoughts on this release by using the feedback button located at the bottom of the page.
For more in-depth documentation, check the API ReferenceGeneral
New features
- Java Virtual Machine (JVM) only: Enable connectivity for JVM targets with the addition of
com.tomtom.sdk.datamanagement.nds.update.NetworkConnectivityConfigurationBuilder. Previously, connectivity configuration was only possible for Android targets.
Updates
- Convert
com.tomtom.sdk.vehicle.ChargingInformationfrom a data class to a class.
Fixes
- Fix memory leaks that previously occurred when driving a long route.
Deprecations
-
Deprecate the following:
- Component1() of
com.tomtom.sdk.vehicle.ChargingInformationclass. UsetargetChargeinstead. - Component2() of
com.tomtom.sdk.vehicle.ChargingInformationclass. UsechargingTimeinstead. - Component3() of
com.tomtom.sdk.vehicle.ChargingInformationclass. UsechargingParkUuidinstead. - Component4() of
com.tomtom.sdk.vehicle.ChargingInformationclass. UseconnectorDetailsinstead. - Component5() of
com.tomtom.sdk.vehicle.ChargingInformationclass. UsechargingPowerinstead. - Copy() of
com.tomtom.sdk.vehicle.ChargingInformationclass. Use the constructor to create the copy.
- Component1() of
Location
Breaking changes
-
Add constructor’s param to the following:
com.tomtom.sdk.location.android.AndroidLocationProviderthat allows passingkotlinx.coroutines.CoroutineDispatcherto receive location updates on a dedicated pool of threads.com.tomtom.sdk.location.gms.GmsLocationProviderthat allows passingkotlinx.coroutines.CoroutineDispatcherto receive location updates on a dedicated pool of threads.
Map
Breaking changes
-
Remove the following
com.tomtom.sdk.map.display.visualization.search.SearchVisualizationAPIs (usecom.tomtom.sdk.map.display.visualization.poi.PoiVisualizationAPIs instead to visualize Search Results):com.tomtom.sdk.map.display.visualization.search.SearchVisualization.clear().com.tomtom.sdk.map.display.visualization.search.SearchVisualization.displaySearchResults(List<SearchResult>).com.tomtom.sdk.map.display.visualization.search.SearchVisualization.removeSearchResult(List<SearchResult>).com.tomtom.sdk.map.display.visualization.search.SearchVisualization.replaceMap(TomTomMap).com.tomtom.sdk.map.display.visualization.search.SearchVisualization.com.tomtom.sdk.map.display.visualization.search.SearchVisualizationFactory.create(TomTomMap):SearchVisualization.com.tomtom.sdk.map.display.visualization.search.SearchVisualizationFactory.
New features
- API to display EV search results with extended details.
Updates
-
The following are now available in Public Preview:
com.tomtom.sdk.map.display.route.domain.RouteUpdate.instructionsVisibility.com.tomtom.sdk.map.display.route.RouteOptions.instructionsVisible.com.tomtom.sdk.map.display.visualization.navigation.RouteInstructionsStyle.
Fixes
- Map no longer displays walking dots that previously remained after the Navigation session ended.
Navigation
New features
- Add traffic data adapter module that implements
HorizonDataAdapter. - Pass traffic API into Navigation and Horizon engines so they can publish traffic events.
Updates
getVoices()andsetVoice(voice: Voice)APIs ofcom.tomtom.sdk.tts.android.AndroidTextToSpeechEngineare now in Public Preview. These APIs add functionality for querying available voices and setting preferred text-to-speech voice.- Update docs of the
com.tomtom.sdk.navigation.ui.NavigationFragment.changeTextToSpeechEngine()function.
Fixes
- Fix crash that previously occurred when
TomTomNavigation.navigationResumeSnapshot()was requested in Idle navigation state. - Fix route projection progress handling when switching engine.
- Group together the navigation events that are published per navigation engine.
- Select offline mode for offline hybrid first, in an instance where there is no data available.
- Switch earlier to online data store if the offline data is not present in the current area (offline first hybrid mode).
Routing
New features
- Long distance EV routing now works offline.
Updates
-
Extend
OfflineRangeCalculatorComponentTestWithMap. -
Promote the following manual charging stops APIs to Public Preview:
com.tomtom.sdk.routing.options.ItineraryPoint.chargingStationId.com.tomtom.sdk.routing.options.ItineraryPoint.waypointTypeto Public Preview.com.tomtom.sdk.routing.options.WaypointType.
Fixes
- Ensure that proper conditions are used for POST requests.
- Support manual charging stops in navigation route.
Search
Updates
- Update documentation on how to search along remaining routes.