메타(페이스북) SDK 추가
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
import UIKit
|
||||
|
||||
import FBSDKCoreKit
|
||||
import FirebaseCore
|
||||
import FirebaseMessaging
|
||||
|
||||
@@ -29,6 +30,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
application.registerForRemoteNotifications()
|
||||
UIApplication.shared.applicationIconBadgeNumber = 0
|
||||
|
||||
ApplicationDelegate.shared.application(application, didFinishLaunchingWithOptions: launchOptions)
|
||||
AppEvents.shared.activateApp()
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
|
@@ -8,6 +8,7 @@
|
||||
import SwiftUI
|
||||
import AppTrackingTransparency
|
||||
|
||||
import FBSDKCoreKit
|
||||
import FirebaseDynamicLinks
|
||||
|
||||
@main
|
||||
@@ -67,6 +68,7 @@ struct SodaLiveApp: App {
|
||||
}
|
||||
.onOpenURL { url in
|
||||
DEBUG_LOG("I have received a URL through a custom scheme! \(url.absoluteString)")
|
||||
ApplicationDelegate.shared.application(UIApplication.shared, open: url, options: [:])
|
||||
if let scheme = url.scheme {
|
||||
if scheme == "kr.co.vividnext.sodalive" {
|
||||
if let dynamicLink = DynamicLinks.dynamicLinks().dynamicLink(fromCustomSchemeURL: url) {
|
||||
|
Reference in New Issue
Block a user