2
0
mirror of https://gitlab.com/famedly/fluffychat.git synced 2024-12-23 22:12:34 +01:00
fluffychat/ios/Runner/AppDelegate.swift

17 lines
537 B
Swift
Raw Normal View History

2020-01-01 19:10:13 +01:00
import UIKit
import Flutter
@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
GeneratedPluginRegistrant.register(with: self)
2020-11-14 14:04:36 +01:00
if #available(iOS 10.0, *) {
UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
}
2020-01-01 19:10:13 +01:00
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
}