From 7db3b2f871a526550507c7de1102b78d2c6023cd Mon Sep 17 00:00:00 2001 From: rafaelsavaris Date: Mon, 24 Aug 2026 13:56:57 -0300 Subject: [PATCH] Upgrade to Onfleet SDK 0.14.0 - Bump com.onfleet:driver and app versionName to 0.14.0 - Add CHANGELOG 0.14.0 entry (driver roles/hubs, on-duty geofence, camera attachment on failure requirements) - No example-code changes required: TaskCompletionDetails is unchanged and the app uses named arguments for expanded constructors Co-Authored-By: Claude Fable 5 --- CHANGELOG.md | 23 +++++++++++++++++++++++ app/build.gradle.kts | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d5a7b8..882ceb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,29 @@ # Change Log Breaking changes and additions to Onfleet SDK will be documented in this file. +## [0.14.0] + +Breaking changes to API + +### Added Features + +- Driver roles and hub assignments (driver profile now carries its role and hubs) +- On-duty geofence enforcement configuration +- Camera attachment requirement on pick-up / drop-off task failure + +### Added + +- Role enum added (`Role`: `DRIVER`, `ORGANIZER`, `ALL`) +- Hub model added (`Hub`: id, name, location) +- Driver now exposes `role` (Role) and `hubs` (List) +- OnDutyGeofenceConfig model added (`OnDutyGeofenceConfig`: requirementLevel, radiusMeters) +- Organization now exposes `onDutyGeofence` (OnDutyGeofenceConfig) settings +- Organization now exposes `cameraAttachmentOnPickUpFailure` and `cameraAttachmentOnDropOffFailure` (OrganizationRequirement) failure requirements + +### Changed + +- Driver/Organization public constructor signatures expanded with the fields above (callers passing positional args must update) + ## [0.13.0] Breaking changes to API diff --git a/app/build.gradle.kts b/app/build.gradle.kts index c5159fc..9727bd0 100755 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -14,7 +14,7 @@ android { minSdk = 26 targetSdk = 36 versionCode = 1 - versionName = "0.13.0" + versionName = "0.14.0" } buildTypes { release { @@ -36,7 +36,7 @@ android { } dependencies { - implementation("com.onfleet:driver:0.13.0") + implementation("com.onfleet:driver:0.14.0") implementation("androidx.appcompat:appcompat:1.7.1") implementation("org.jetbrains.kotlin:kotlin-stdlib:2.4.0") implementation("androidx.exifinterface:exifinterface:1.4.2")