12345678910111213141516171819202122232425262728293031 |
- import UIKit
- import Flutter
- import Firebase
- //
- @UIApplicationMain
- @objc class AppDelegate: FlutterAppDelegate {
- override func application(
- _ application: UIApplication,
- didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
- ) -> Bool {
- FirebaseApp.configure()
- GeneratedPluginRegistrant.register(with: self)
-
- return super.application(application, didFinishLaunchingWithOptions: launchOptions)
- }
- }
- //@UIApplicationMain
- //class AppDelegate: UIResponder, UIApplicationDelegate {
- //
- // var window: UIWindow?
- //
- // func application(_ application: UIApplication,
- // didFinishLaunchingWithOptions launchOptions:
- // [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
- // FirebaseApp.configure()
- //
- // return true
- // }
- //}
|