2022-04-04 20:22:30 +02:00
|
|
|
import UIKit
|
|
|
|
import Flutter
|
2022-10-20 17:44:04 +02:00
|
|
|
import workmanager
|
2022-04-04 20:22:30 +02:00
|
|
|
|
|
|
|
@UIApplicationMain
|
|
|
|
@objc class AppDelegate: FlutterAppDelegate {
|
|
|
|
override func application(
|
|
|
|
_ application: UIApplication,
|
|
|
|
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
|
|
|
|
) -> Bool {
|
2022-10-20 17:44:04 +02:00
|
|
|
WorkmanagerPlugin.registerTask(withIdentifier: "oc_bg")
|
2022-04-04 20:22:30 +02:00
|
|
|
GeneratedPluginRegistrant.register(with: self)
|
|
|
|
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
|
|
|
|
}
|
|
|
|
}
|