Replace geofence polling with native Android geofence

This commit is contained in:
Artem Kokos
2026-05-12 11:23:44 +07:00
parent 0a5ef9af17
commit 1963488479
38 changed files with 1099 additions and 1931 deletions

View File

@@ -28,7 +28,9 @@ class _RemoteScreenState extends ConsumerState<RemoteScreen> {
void initState() {
super.initState();
_groupsNotifier = ref.read(groupsProvider.notifier);
Future.microtask(_groupsNotifier.startPolling);
if (ref.read(remotePollingEnabledProvider)) {
Future.microtask(_groupsNotifier.startPolling);
}
}
@override