AppDelegate.swift 801 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. GeneratedPluginRegistrant.register(with: self)
  10. RCIMFlutterWrapper.shared().registerMessageType(TMCustomMessage.self)
  11. RCIMFlutterWrapper.shared().registerMessageType(TMPrivateChatGiftMessage.self)
  12. RCIMFlutterWrapper.shared().registerMessageType(TMPrivateChatGameShareMessage.self)
  13. RCIMFlutterWrapper.shared().registerMessageType(TMRoomJoinMessage.self)
  14. RCIMFlutterWrapper.shared().registerMessageType(TMSysNoticeMessage.self)
  15. return super.application(application, didFinishLaunchingWithOptions: launchOptions)
  16. }
  17. }