feat: legacy mobile apps created
This commit is contained in:
26
mobile-apps/legacy/staff-app/ios/Runner/AppDelegate.swift
Normal file
26
mobile-apps/legacy/staff-app/ios/Runner/AppDelegate.swift
Normal file
@@ -0,0 +1,26 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user