anyline_tire_tread_plugin 15.3.0
anyline_tire_tread_plugin: ^15.3.0 copied to clipboard
The Anyline Tire Tread Flutter Plugin allows you to measure tire tread depth and wear with a mobile device.
15.3.0 #
Added #
- Configurable upload timeout — new optional
uploadTimeoutMillisnamed argument onTireTreadPlugin.initialize(...)for tuning the per-attempt image-upload timeout. Default is 20 s. See the Getting Started page.
Dependencies #
Tire Tread SDK 15.3.0: Release Notes.
15.2.0 #
Added #
- Tire Sidewall (TSW) scanner — a new on-device scanner exposed over a dedicated
anyline_tire_sidewall_pluginchannel viaTireSidewallPlugin:scan({required String clientId, TireSidewallConfig? config})completes with aTswScanOutcome(TswScanCompletedcarrying the raw result JSON, the captured image bytes, and the detectedEnvironmentLighting;TswScanAborted; orTswScanFailedwith a structuredSdkError).isSupported()returns aTireSidewallSupport(on Android it checks Google Play Services + the TFLite runtime; on iOS it is always supported). Does not require SDK initialization.resolvePlayServices()shows the Google Play Services resolution dialog after a user-resolvableisSupported()failure (Android only; no-op on iOS).- New types:
TireSidewallConfig,TireSidewallTexts,TireSidewallSupport,TswScanOutcome, and theEnvironmentLightingenum.
Dependencies #
Tire Tread SDK 15.2.0: Release Notes.
15.1.0 #
Major version jump (3.0.1 → 15.1.0). Plugin versioning is now aligned with the underlying Anyline Tire Tread SDK version: the previous release (3.0.1) wrapped TTR SDK 14.0.1, and from this release the plugin's
X.Y.Zmirrors the bundled SDK release.
For native-side details on the v14 → v15 transition, see the SDK v14 → v15 Migration Guide.
Breaking Changes #
-
Updated to Anyline Tire Tread SDK 15.1.0 (Android & iOS).
-
scan()now returns aScanOutcome: The scanFuturecompletes directly withScanCompleted,ScanAborted, orScanFailed(carrying a structuredSdkError). Await the outcome instead of listening to events. -
Event stream removed:
onScanningEventand theScanEventtypes (ScanStarted,ScanProcessCompleted) no longer exist.ScanAbortedandScanFailedare nowScanOutcomevariants;ScanFailed.erroris a structuredSdkErrorinstead of aString. -
Removed config options dropped by SDK 15:
UiConfig.countdownConfig,UiConfig.scanDirectionConfig,UiConfig.tireOverlayConfig, andScanConfig.showMeasuringSpots. Remove these keys from any JSON configs. See the Scan Configuration reference for the current options. -
getHeatMapreturns the heatmap URL of the generated image. -
Result/heatmap polling timeout default changed from 30 to 60 seconds, and is now configurable per call via
timeoutSecondsongetResultandgetHeatMap. -
Structured error codes: Failures surface SDK 15
ErrorCodenames (e.g.INVALID_LICENSE,ALREADY_RUNNING,TIMEOUT) instead of the previous numeric plugin codes (1000,1001). Starting a scan while one is in progress resolves withScanFailed(alreadyRunning) instead of throwing. See the SDK Error Handling reference for the full list of codes and categories.
Added #
ScanOptionsparameter onscan()(e.g.enableDebugLogging).customTagparameter oninitialize()for tagging measurements.sendTireIdFeedback()for tire ID feedback.isDeviceSupported()— checks whether the current device meets the hardware requirements for tire tread scanning. Call this beforeinitialize()to verify compatibility. On Android, throws aPlatformExceptionwith codeCAMERA_PERMISSION_DENIEDif camera permission has not been granted at call time.SdkError,ErrorCode, andErrorTypetypes — see the SDK Error Handling reference.
Dependencies #
Tire Tread SDK 15.1.0: Release Notes.
3.0.1 #
Fixed #
- [Android] System bars are now hidden during scanning in the Flutter wrapper scan Activity to prevent scan instruction UI overlap with the navigation bar on some devices.
Dependencies #
Tire Tread SDK 14.0.1: Release Notes
3.0.0 #
Breaking Changes #
-
Updated to Anyline Tire Tread SDK 14.0.0
-
UI Configuration API Change: The
useDefaultUianduseDefaultHapticboolean properties inUIConfighave been replaced with a unifiedappearanceenum property.Migration Required:
- Replace
"useDefaultUi": truewith"appearance": "Neon"(or omit, as Neon is the new default) - Replace
"useDefaultUi": falsewith"appearance": "None"
New Appearance Options:
"Neon"- New neon UI appearance with haptic feedback (new default)"Classic"- Classic UI appearance with haptic feedback (the previous default UI style)"None"- Disables both UI and haptic feedback (replacesuseDefaultUi: false)
- Replace
Added #
- Support for new "Neon" UI theme with modern visual design
- Support for "Classic" UI theme (the previous default UI style)
Deprecated #
- [Android] The
skipButtonTextproperty inTireWidthInputConfigis now deprecated and will be removed in the next major SDK release. Tire width must be provided either via integration or through the SDK's UI input.
Changed #
- [Android] Build requirements increased:
- Minimum Gradle version: 8.7 (up from 8.2.1)
- Minimum Android Gradle Plugin: 8.5.1 (up from 8.2.1)
- compileSdk: 36 (up from 34)
- targetSdk: 36 (up from 34)
- Reason: Compliance with Android 15+ page size requirements (see Android Developer Guide)
Dependencies #
Tire Tread SDK 14.0.0: Release Notes
2.0.2 #
Fixed #
- [Android] Fixed an issue that prevented the tire width to be set via the TireWidthInput screen.
Dependencies #
Tire Tread SDK 13.0: Release Notes
2.0.1 #
Changed #
- UI Behaviour is now aligned between Android and iOS. When the Default UI is disabled, no UI will be displayed neither on Android nor on iOS.
2.0.0 #
Breaking Changes #
-
The
ScanOptionsclass was removed.- The
tireTreadPlugin.scan()function can now receive an instance of the newTireTreadConfigclass to configure the Plugin instead.
- The
Added #
-
The
TireTreadConfigclass was introduced, enabling the configuration of a scan. It consists of:uiConfig: Configuration for all UI-related settings and elementsscanConfig: Configuration for the scanning process parametersadditionalContext: Additional contextual information required for measurements
-
The previous UI config properties have been reorganized under
uiConfig:scanSpeedmeasurementSystemuseDefaultUidistanceIndicatorConfigfocusPointTooltipConfigtapToStartScanningTooltipConfigtireOverlayConfiguploadViewConfigorientationWarningConfigcountdownConfigscanDirectionConfigtireWidthInputConfigmissingPermissionConfig
Fixed #
- Fixed a potential crash when parsing measurements with empty regional results
- Fixed NSInvalidArgumentException crash when using both the Anyline Mobile and Tire Tread SDKs in a single project.
Dependencies #
Tire Tread SDK 13.0: Release Notes
1.2.1 #
Added #
- A new event is sent upon successfully starting scanning:
ScanStarted.
Fixed #
- [Android] A
ScanAbortedevent is now sent upon aborting a scan, even if the scan was not successfully started before.
Dependencies #
Tire Tread SDK 12.1.0 : Release Notes
1.2.0 #
Changed #
- The default scan speed is now ScanSpeed.Fast.
- The scan process will now, by default, take 7 seconds to be completed (instead of 10 seconds).
- This configuration can still be changed by setting the scanSpeed property of the TireTreadScanView to ScanSpeed.Slow.
Added #
- The TireTreadScanView can now also be initialized without any config object/string.
- In this scenario, the default config values will be used.
- For more details, refer to the Scan Process - Overview page.
iOS
- Added support for iOS Simulator builds when using the SPM package
- While the camera and scanning capabilites cannot be used in the simulator, the package from SPM now can also run on x64 and arm64 simulators, allowing running automated tests, or testing other features in your application.
Dependencies #
Tire Tread SDK 12.1.0 : Release Notes
1.1.0 #
Breaking Changes #
Android
- Minimum required Gradle version and AGP version is 8.2.1
Added #
- Added a new MissingPermission screen to the DefaultUI, which can be configured via the MissingPermissionConfig
- If DefaultUI is not used, a black screen will be shown, when the user denies camera permission.
- Added edge-to-edge support in the DefaultUI for Android API 35 and above
Dependencies #
Tire Tread SDK 12.0.1 : Release Notes
1.0.0 #
This release officially marks the Anyline Tire Tread Flutter Plugin as feature complete, stable, and fully supported for the Anyline Tire Tread SDK.
Added #
- Introduced a new feature allowing users to send feedback values in 32" from the plugin. This will help us gather valuable insights and continuously improve the plugin.
Fixed #
- Resolved minor bugs to enhance overall performance and stability.
Dependencies #
Tire Tread SDK 11.2.0 : Release Notes
0.0.3 #
Added #
- Introduced a new feature allowing users to send feedback comments directly from the plugin. This will help us gather valuable insights and continuously improve the plugin.
Changed #
tireTreadPlugin.getResultnow returns aTreadDepthResultobject instead of a string. This change provides a more structured and detailed result.
Fixed #
- Resolved minor bugs to enhance overall performance and stability.
Dependencies #
Tire Tread SDK 11.1.0 : Release Notes
0.0.2 #
Breaking Changes #
Updated ScanEvent Handling:
There are changes in ScanEvent which now provides the current state of the scanning process. Some events have been removed and consolidated with new events:
UploadAbortedevent has been removed and consolidated intoScanAbortedto simplify communication with the app.UploadCompletedevent has been removed and consolidated intoScanProcessCompletedto simplify communication with the app.UploadFailedevent has been removed and consolidated intoScanFailedto simplify communication with the app.
0.0.1 #
- Initial stable release of the Anyline Tire Tread Flutter Plugin.
0.0.1-alpha.3 #
- Fix pub.dev scores.
0.0.1-alpha.2 #
- Fix pub.dev scores.
0.0.1-alpha.1 #
- Initial alpha release of the Anyline Tire Tread Flutter Plugin. Please see the included Readme.md for details and usage instructions.