From 1216ec252d54671d6797de7237353068187622a4 Mon Sep 17 00:00:00 2001 From: otsmr Date: Tue, 21 Apr 2026 19:36:29 +0200 Subject: [PATCH] maybe fixes background not executed --- ios/Runner/AppDelegate.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ios/Runner/AppDelegate.swift b/ios/Runner/AppDelegate.swift index 7b546b5c..6c738da9 100644 --- a/ios/Runner/AppDelegate.swift +++ b/ios/Runner/AppDelegate.swift @@ -20,6 +20,10 @@ import workmanager_apple WorkmanagerDebug.setCurrent(LoggingDebugHandler()) + WorkmanagerPlugin.setPluginRegistrantCallback { registry in + GeneratedPluginRegistrant.register(with: registry) + } + WorkmanagerPlugin.registerPeriodicTask( withIdentifier: "eu.twonly.periodic_task", frequency: NSNumber(value: 20 * 60)