Changelog
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.
[3.0.1]
[3.0.0]
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