diff --git a/android/app/build.gradle b/android/app/build.gradle index b715b84..5591c00 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -110,6 +110,11 @@ dependencies { implementation 'androidx.compose.ui:ui-unit-android:1.5.1' // this is to manually launch our routine update - same version as workmanager plugin 0.5.1 - def work_version = "2.7.1" - implementation "androidx.work:work-runtime:$work_version" + def work_version = "2.8.1" + implementation("androidx.work:work-runtime").version { + strictly("2.8.1") + } + implementation("androidx.work:work-runtime-ktx").version { + strictly("2.8.1") + } } diff --git a/android/app/src/main/kotlin/com/lastgimbus/the/freebuddy/BluetoothDeviceConnectedReceiver.kt b/android/app/src/main/kotlin/com/lastgimbus/the/freebuddy/BluetoothDeviceConnectedReceiver.kt index cab4a03..db1fb0b 100644 --- a/android/app/src/main/kotlin/com/lastgimbus/the/freebuddy/BluetoothDeviceConnectedReceiver.kt +++ b/android/app/src/main/kotlin/com/lastgimbus/the/freebuddy/BluetoothDeviceConnectedReceiver.kt @@ -13,7 +13,7 @@ import androidx.core.app.ActivityCompat import androidx.work.Data import androidx.work.OneTimeWorkRequest import androidx.work.WorkManager -import be.tramckrijte.workmanager.BackgroundWorker +import dev.fluttercommunity.workmanager.BackgroundWorker /** * This reacts to a new bluetooth device being connected (literally any) @@ -54,7 +54,7 @@ class BluetoothDeviceConnectedReceiver : BroadcastReceiver() { return } Log.i(TAG, "Scheduling one time work to update widget n stuff...") - // this is stuff imported from be.tramckrijte.workmanager + // this is stuff imported from dev.fluttercommunity.workmanager val oneOffTaskRequest = OneTimeWorkRequest.Builder(BackgroundWorker::class.java) .setInputData( Data.Builder()