diff --git a/filcnaplo/lib/main.dart b/filcnaplo/lib/main.dart index fa2efe5..0d18794 100644 --- a/filcnaplo/lib/main.dart +++ b/filcnaplo/lib/main.dart @@ -131,7 +131,8 @@ Widget errorBuilder(FlutterErrorDetails details) { requiresCharging: false, requiresStorageNotLow: false, requiresDeviceIdle: false, - requiredNetworkType: NetworkType.ANY + requiredNetworkType: NetworkType.ANY, + startOnBoot: true ), (String taskId) async { // <-- Event handler print("[BackgroundFetch] Event received $taskId"); NotificationsHelper().backgroundJob();