AppDelegate.swift 640 B

1234567891011121314151617
  1. import UIKit
  2. import Flutter
  3. @UIApplicationMain
  4. @objc class AppDelegate: FlutterAppDelegate {
  5. override func application(
  6. _ application: UIApplication,
  7. didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
  8. ) -> Bool {
  9. let controller : FlutterViewController = window?.rootViewController as! FlutterViewController
  10. ConversionSDKInfoPlugin(messenger: controller.binaryMessenger)
  11. ConverFilePlugin(messenger: controller.binaryMessenger)
  12. GeneratedPluginRegistrant.register(with: self)
  13. return super.application(application, didFinishLaunchingWithOptions: launchOptions)
  14. }
  15. }