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-
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