Release Notes
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
[4.0.0] - 2024-01-25
| Please be aware of the breaking changes listed below. |
Changed
-
Default UI redesign
-
We reorganized the UI to offer a better user experience with the help of tool tips.
-
The default UI now intercepts user touches to start and stop the scan process instead of using buttons.
-
We also updated the distance indicator to tell the user whether they have to move closer or farther away from the tire.
-
-
The
DistanceStatusenum has a new status (UNKNOWNon Android -unknownon iOS), returned when no distance information is available.-
This is the case when the device’s camera was not yet able to focus on the scan target.
-
[3.0.1] - 2024-01-17
[3.0.0] - 2023-12-28
This major release includes many improvements in the usability and stability of the Tire Tread SDK (both for integration and usage).
Please be aware of the breaking changes below:
Breaking changes
[Android & iOS]
-
Scan →
TireTreadScanViewConfig-
defaultUianddefaultHapticare now enabled by default. -
The
TireTreadScanViewConfigconstructor was changed to a Builder pattern, as shown below:-
TireTreadScanViewConfig.Builder().build()- For more details and examples, check the platform-specific "Scan Process" pages.
-
-
-
Results →
getTreadDepthReportResult:-
You no longer need to call
getTreadDepthReportResultrepeatedly until the measurement result becomes available. Just call the function on a background thread, and listen for callbacks on success and on failure. -
getTreadDepthReportResultfunction is now void. -
getTreadDepthReportResult's success callback has been renamed from Succeed to Succeeded. -
onGetTreadDepthReportResultSucceededcallback now provides the result as aTreadDepthResultobject. -
onGetTreadDepthReportResultFailedcallback now provides the failure information as aMeasurementErrorobject.
-
-
Results →
TreadResultRegionobject:-
The field
confidencewas removed.
-
-
Results / PDF Report →
getTreadDepthReportPdffunction:-
This function is now void.
-
The success callback has been renamed from Succeed to Succeeded.
-
The
onGetTreadDepthReportSucceededcallback provides the ByteArray of the PDF Report. -
The
onGetTreadDepthReportFailedcallback provides now only an Exception.
-
[Android]
-
The minimum version requirements have been increased to:
-
JDK 17
-
Gradle 8.1.0
-
compileSdk 34
-
minSdk 26
-
Compose Compiler v1.5.0
-
-
Scan →
TireTreadScanView-
The attributes
useDefaultUianduseDefaultHapticof the TireTreadScanView have been renamed todisableDefaultUianddisableDefaultHapticrespectively, with default values set tofalse.-
Default UI and Haptic will be enabled by default, unless explicitly disabled.
-
-
Added
[2.3.0] - 2023-10-25
-
In the
TreadDepthResult, a new field valueInch32nds is now available, containing the result in 32 seconds of an inch.
[2.2.0] - 2023-10-09
-
[Android] Added audio feedback in form of a beep when the tire is too far or too close to the camera
-
[Android] Added haptic feedback when the tire is too far or too close to the camera