// // AppDelegate+Thirdparty.swift // MoviaBox // // Created by 佳尔 on 2025/5/7. // import UIKit import AdjustSdk #if canImport(FacebookCore) import FacebookCore #endif extension AppDelegate { func registThirdparty(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) { //Facebook #if canImport(FacebookCore) ApplicationDelegate.shared.application(application, didFinishLaunchingWithOptions: launchOptions) #endif registAdjust() } private func registAdjust() { let config = ADJConfig(appToken: "mtogye6pmha8", environment: ADJEnvironmentProduction) Adjust.initSdk(config) } }