앱스플라이어 딥링크 설정
- 앱스플라이어 Onelink를 타고 들어온 경우 pid와 utm설정
This commit is contained in:
		@@ -6,7 +6,6 @@
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
import SwiftUI
 | 
			
		||||
import AppTrackingTransparency
 | 
			
		||||
 | 
			
		||||
import FBSDKCoreKit
 | 
			
		||||
import AppsFlyerLib
 | 
			
		||||
@@ -16,6 +15,8 @@ struct SodaLiveApp: App {
 | 
			
		||||
    
 | 
			
		||||
    @UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
 | 
			
		||||
    
 | 
			
		||||
    @ObservedObject var viewModel = AppViewModel()
 | 
			
		||||
    
 | 
			
		||||
    var body: some Scene {
 | 
			
		||||
        WindowGroup {
 | 
			
		||||
            ContentView()
 | 
			
		||||
@@ -26,7 +27,7 @@ struct SodaLiveApp: App {
 | 
			
		||||
                    UIApplication.shared.applicationIconBadgeNumber = 0
 | 
			
		||||
                    
 | 
			
		||||
                    AppsFlyerLib.shared().start()
 | 
			
		||||
                    ATTrackingManager.requestTrackingAuthorization { _ in }
 | 
			
		||||
                    viewModel.fetchAndUpdateIdfa()
 | 
			
		||||
                }
 | 
			
		||||
                .onOpenURL { url in
 | 
			
		||||
                    DEBUG_LOG("I have received a URL through a custom scheme! \(url.absoluteString)")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user