메타(페이스북) SDK 추가

This commit is contained in:
Yu Sung 2025-02-25 17:33:57 +09:00
parent 898ea17a2e
commit 7da5f5a252
6 changed files with 51 additions and 2 deletions

View File

@ -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",

View File

@ -222,5 +222,22 @@
<string>fetch</string>
<string>remote-notification</string>
</array>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fb608674328645232</string>
</array>
</dict>
</array>
<key>FacebookAppID</key>
<string>608674328645232</string>
<key>FacebookClientToken</key>
<string>3775e6ea83236a685d264b6c5a1bbb4d</string>
<key>FacebookDisplayName</key>
<string>보이스온 - Test1</string>
<key>FacebookAutoLogAppEventsEnabled</key>
<true/>
</dict>
</plist>

View File

@ -31,4 +31,4 @@
<key>GOOGLE_APP_ID</key>
<string>1:983594297130:ios:599d0646d17cf5ee532053</string>
</dict>
</plist>
</plist>

View File

@ -222,5 +222,22 @@
<string>fetch</string>
<string>remote-notification</string>
</array>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fb612448298237287</string>
</array>
</dict>
</array>
<key>FacebookAppID</key>
<string>612448298237287</string>
<key>FacebookClientToken</key>
<string>32af760f4a7b7cb7e3b1e7ffd0b0da70</string>
<key>FacebookDisplayName</key>
<string>보이스온</string>
<key>FacebookAutoLogAppEventsEnabled</key>
<true/>
</dict>
</plist>

View File

@ -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
}

View File

@ -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) {