diff --git a/SodaLive.xcworkspace/xcshareddata/swiftpm/Package.resolved b/SodaLive.xcworkspace/xcshareddata/swiftpm/Package.resolved index 0e8a17b..6e55257 100644 --- a/SodaLive.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/SodaLive.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,5 +1,5 @@ { - "originHash" : "ea70de34a77d120c5868e05deb1fc4fa7fd97d4e8022e60ec6ff31d158171441", + "originHash" : "7e8c8a802e9b50376703e11841c54f22c1f47d510e9210bd5c4a9d52ea36c5db", "pins" : [ { "identity" : "abseil-cpp-binary", @@ -46,6 +46,15 @@ "version" : "10.19.1" } }, + { + "identity" : "facebook-ios-sdk", + "kind" : "remoteSourceControl", + "location" : "https://github.com/facebook/facebook-ios-sdk", + "state" : { + "revision" : "b28dde427715b45a26ebebf697929f4a81b15e04", + "version" : "18.0.0" + } + }, { "identity" : "firebase-ios-sdk", "kind" : "remoteSourceControl", diff --git a/SodaLive/Resources/Debug/SodaLive-dev-Info.plist b/SodaLive/Resources/Debug/SodaLive-dev-Info.plist index 0828a8c..02df047 100644 --- a/SodaLive/Resources/Debug/SodaLive-dev-Info.plist +++ b/SodaLive/Resources/Debug/SodaLive-dev-Info.plist @@ -222,5 +222,22 @@ fetch remote-notification + CFBundleURLTypes + + + CFBundleURLSchemes + + fb608674328645232 + + + + FacebookAppID + 608674328645232 + FacebookClientToken + 3775e6ea83236a685d264b6c5a1bbb4d + FacebookDisplayName + 보이스온 - Test1 + FacebookAutoLogAppEventsEnabled + diff --git a/SodaLive/Resources/GoogleService-Info.plist b/SodaLive/Resources/GoogleService-Info.plist index 3e472f8..9247ff6 100644 --- a/SodaLive/Resources/GoogleService-Info.plist +++ b/SodaLive/Resources/GoogleService-Info.plist @@ -31,4 +31,4 @@ GOOGLE_APP_ID 1:983594297130:ios:599d0646d17cf5ee532053 - \ No newline at end of file + diff --git a/SodaLive/Resources/Info.plist b/SodaLive/Resources/Info.plist index 6ad99f4..5da97b9 100644 --- a/SodaLive/Resources/Info.plist +++ b/SodaLive/Resources/Info.plist @@ -222,5 +222,22 @@ fetch remote-notification + CFBundleURLTypes + + + CFBundleURLSchemes + + fb612448298237287 + + + + FacebookAppID + 612448298237287 + FacebookClientToken + 32af760f4a7b7cb7e3b1e7ffd0b0da70 + FacebookDisplayName + 보이스온 + FacebookAutoLogAppEventsEnabled + diff --git a/SodaLive/Sources/App/AppDelegate.swift b/SodaLive/Sources/App/AppDelegate.swift index 9ad38f8..f4ae81a 100644 --- a/SodaLive/Sources/App/AppDelegate.swift +++ b/SodaLive/Sources/App/AppDelegate.swift @@ -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 } diff --git a/SodaLive/Sources/App/SodaLiveApp.swift b/SodaLive/Sources/App/SodaLiveApp.swift index fc42f66..de2ebf5 100644 --- a/SodaLive/Sources/App/SodaLiveApp.swift +++ b/SodaLive/Sources/App/SodaLiveApp.swift @@ -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) {