앱스플라이어 SDK 추가
This commit is contained in:
@@ -9,6 +9,7 @@ import SwiftUI
|
||||
import AppTrackingTransparency
|
||||
|
||||
import FBSDKCoreKit
|
||||
import AppsFlyerLib
|
||||
|
||||
@main
|
||||
struct SodaLiveApp: App {
|
||||
@@ -24,11 +25,13 @@ struct SodaLiveApp: App {
|
||||
.onReceive(NotificationCenter.default.publisher(for: UIApplication.didBecomeActiveNotification)) { _ in
|
||||
UIApplication.shared.applicationIconBadgeNumber = 0
|
||||
|
||||
AppsFlyerLib.shared().start()
|
||||
ATTrackingManager.requestTrackingAuthorization { _ in }
|
||||
}
|
||||
.onOpenURL { url in
|
||||
DEBUG_LOG("I have received a URL through a custom scheme! \(url.absoluteString)")
|
||||
ApplicationDelegate.shared.application(UIApplication.shared, open: url, options: [:])
|
||||
AppsFlyerLib.shared().handleOpen(url)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user