Extract settings and harden geofence automation

This commit is contained in:
Artem Kokos
2026-05-15 10:18:46 +07:00
parent 1963488479
commit d796537917
21 changed files with 1392 additions and 278 deletions

View File

@@ -0,0 +1,17 @@
enum GeofenceSystemIssue {
noActiveHome,
missingCoordinates,
locationServicesDisabled,
permissionDenied,
permissionDeniedForever,
backgroundPermissionRequired,
ready,
}
class GeofenceSystemState {
final GeofenceSystemIssue issue;
const GeofenceSystemState(this.issue);
bool get isReady => issue == GeofenceSystemIssue.ready;
}