Blame view

ios/Runner/AppDelegate.swift 742 Bytes
2a29701f   liangchengyou   feat:提交代码
1
2
3
4
5
  import UIKit
  import Flutter
  
  @UIApplicationMain
  @objc class AppDelegate: FlutterAppDelegate {
2eb67dd4   liangchengyou   feat:调整代码
6
7
8
9
10
11
12
      override func application(
          _ application: UIApplication,
          didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
      ) -> Bool {
          GeneratedPluginRegistrant.register(with: self)
          let controller : FlutterViewController = window?.rootViewController as! FlutterViewController
          _ = VoiceXSMessageChannel(messager: controller.binaryMessenger)
e3c2820c   liangchengyou   feat:先声SDK逻辑调整
13
          _ = XSMessageMehtodChannel(message: controller.binaryMessenger);
8b5ef002   xiaoyu   添加打开游戏的测试代码
14
          _ = GameMessageChannel(message: controller.binaryMessenger);
2eb67dd4   liangchengyou   feat:调整代码
15
16
          return super.application(application, didFinishLaunchingWithOptions: launchOptions)
      }
2a29701f   liangchengyou   feat:提交代码
17
  }