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
DistanceStatus
enum has a new status (UNKNOWN
on Android -unknown
on 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
-
defaultUi
anddefaultHaptic
are now enabled by default. -
The
TireTreadScanViewConfig
constructor 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
getTreadDepthReportResult
repeatedly until the measurement result becomes available. Just call the function on a background thread, and listen for callbacks on success and on failure. -
getTreadDepthReportResult
function is now void. -
getTreadDepthReportResult
's success callback has been renamed from Succeed to Succeeded. -
onGetTreadDepthReportResultSucceeded
callback now provides the result as aTreadDepthResult
object. -
onGetTreadDepthReportResultFailed
callback now provides the failure information as aMeasurementError
object.
-
-
Results →
TreadResultRegion
object:-
The field
confidence
was removed.
-
-
Results / PDF Report →
getTreadDepthReportPdf
function:-
This function is now void.
-
The success callback has been renamed from Succeed to Succeeded.
-
The
onGetTreadDepthReportSucceeded
callback provides the ByteArray of the PDF Report. -
The
onGetTreadDepthReportFailed
callback 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
useDefaultUi
anduseDefaultHaptic
of the TireTreadScanView have been renamed todisableDefaultUi
anddisableDefaultHaptic
respectively, 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