Blame view

ios/Runner/AppDelegate.swift 941 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
      override func application(
          _ application: UIApplication,
          didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
      ) -> Bool {
2773fce2   xiaoyu   集成ios友盟相关配置
10
11
12
          
          // umeng初始化
          UMCommonSwift.setLogEnabled(bFlag: true);
d7f39054   xiaoyu   更换umeng key
13
          UMCommonSwift.initWithAppkey(appKey: "663b66ecf32cc41105ae74b7", channel: "App Store");
2773fce2   xiaoyu   集成ios友盟相关配置
14
          
2eb67dd4   liangchengyou   feat:调整代码
15
16
17
          GeneratedPluginRegistrant.register(with: self)
          let controller : FlutterViewController = window?.rootViewController as! FlutterViewController
          _ = VoiceXSMessageChannel(messager: controller.binaryMessenger)
e3c2820c   liangchengyou   feat:先声SDK逻辑调整
18
          _ = XSMessageMehtodChannel(message: controller.binaryMessenger);
8b5ef002   xiaoyu   添加打开游戏的测试代码
19
          _ = GameMessageChannel(message: controller.binaryMessenger);
5daad4bc   xiaoyu   游戏源码添加编译(现存问题:游戏内...
20
          
2eb67dd4   liangchengyou   feat:调整代码
21
22
          return super.application(application, didFinishLaunchingWithOptions: launchOptions)
      }
2a29701f   liangchengyou   feat:提交代码
23
  }