import Flutter import UIKit import GoogleMaps import flutter_background_service_ios //import workmanager @main @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool { GMSServices.provideAPIKey("AIzaSyDkUk8zB_rzGkQ8fbNACifyvBpSmbkBLXc") SwiftFlutterBackgroundServicePlugin.taskIdentifier = "shift.flutter_background_service" // WorkmanagerPlugin.registerPeriodicTask(withIdentifier: "be.tramckrijte.workmanagerExample.iOSBackgroundAppRefresh", frequency: NSNumber(value: 20 * 60)) GeneratedPluginRegistrant.register(with: self) return super.application(application, didFinishLaunchingWithOptions: launchOptions) } }