Add Smart data checking mode

This commit is contained in:
FuelBoard Contributor
2026-08-29 13:48:08 +01:00
parent 50036c8a67
commit 457816ec61
9 changed files with 226 additions and 9 deletions
+4
View File
@@ -1,4 +1,5 @@
import ActivityKit
import BackgroundTasks
import SwiftUI
@main
@@ -22,6 +23,9 @@ struct FuelBoardApp: App {
ContentView()
.onOpenURL(perform: handleOpenURL)
}
.backgroundTask(.appRefresh(SmartDataRefreshScheduler.taskIdentifier)) {
await SmartDataRefreshCoordinator.runBackgroundProbe()
}
}
#if DEBUG