Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
# Change Log
Breaking changes and additions to Onfleet SDK will be documented in this file.

## [0.14.1]

Breaking changes to API

### Added Features

- Dispatcher override of the completion geofence: when dispatch approves completing a task outside the delivery area, the grant reaches the task and arrives as its own push notification

### Added

- Task now exposes `allowCompletionOutsideGeofence` (Boolean)
- OnfleetFcmNotification adds `GeofenceOverrideGranted`

### Changed

- Task public constructor signature expanded with `allowCompletionOutsideGeofence` (callers passing positional args must update)
- An exhaustive `when` over `OnfleetFcmNotification` must handle `GeofenceOverrideGranted`

### Fixed

- After two minutes or more without a location update, the completion geofence check keeps the buffered fixes until a fresh one arrives, instead of relying on the single most accurate, possibly stale, fix
- Task start and completion carry the device timestamps, so completions synced after offline work get an accurate task duration

## [0.14.0]

Breaking changes to API
Expand Down
16 changes: 8 additions & 8 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ android {
minSdk = 26
targetSdk = 36
versionCode = 1
versionName = "0.14.0"
versionName = "0.14.1"
}
buildTypes {
release {
Expand All @@ -36,18 +36,18 @@ android {
}

dependencies {
implementation("com.onfleet:driver:0.14.0")
implementation("androidx.appcompat:appcompat:1.7.1")
implementation("org.jetbrains.kotlin:kotlin-stdlib:2.4.0")
implementation("com.onfleet:driver:0.14.1")
implementation("androidx.appcompat:appcompat:1.8.0")
implementation("org.jetbrains.kotlin:kotlin-stdlib:2.4.21")
implementation("androidx.exifinterface:exifinterface:1.4.2")
implementation(platform("com.google.firebase:firebase-bom:34.16.0"))
implementation(platform("com.google.firebase:firebase-bom:34.19.0"))
implementation("com.google.firebase:firebase-messaging")
implementation("com.jakewharton.timber:timber:5.0.1")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.11.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.11.0")
implementation("androidx.compose.ui:ui:1.11.4")
implementation("androidx.compose.ui:ui-tooling:1.11.4")
implementation("androidx.compose.foundation:foundation:1.11.4")
implementation("androidx.compose.ui:ui:1.12.1")
implementation("androidx.compose.ui:ui-tooling:1.12.1")
implementation("androidx.compose.foundation:foundation:1.12.1")
implementation("androidx.activity:activity-compose:1.13.0")
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.11.0")
implementation("androidx.compose.material3:material3:1.4.0")
Expand Down
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

plugins {
id("com.android.application") version "9.2.1" apply false
id("com.android.library") version "9.2.1" apply false
id("com.android.application") version "9.3.0" apply false
id("com.android.library") version "9.3.0" apply false
id("com.google.gms.google-services") version "4.5.0" apply false
id("org.jetbrains.kotlin.plugin.compose") version "2.4.0" apply false
id("org.jetbrains.kotlin.plugin.parcelize") version "2.4.0" apply false
id("org.jetbrains.kotlin.plugin.compose") version "2.4.21" apply false
id("org.jetbrains.kotlin.plugin.parcelize") version "2.4.21" apply false
}

2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-all.zip
Loading