메타(페이스북) SDK 추가
This commit is contained in:
parent
898ea17a2e
commit
7da5f5a252
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"originHash" : "ea70de34a77d120c5868e05deb1fc4fa7fd97d4e8022e60ec6ff31d158171441",
|
"originHash" : "7e8c8a802e9b50376703e11841c54f22c1f47d510e9210bd5c4a9d52ea36c5db",
|
||||||
"pins" : [
|
"pins" : [
|
||||||
{
|
{
|
||||||
"identity" : "abseil-cpp-binary",
|
"identity" : "abseil-cpp-binary",
|
||||||
|
@ -46,6 +46,15 @@
|
||||||
"version" : "10.19.1"
|
"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",
|
"identity" : "firebase-ios-sdk",
|
||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
|
|
|
@ -222,5 +222,22 @@
|
||||||
<string>fetch</string>
|
<string>fetch</string>
|
||||||
<string>remote-notification</string>
|
<string>remote-notification</string>
|
||||||
</array>
|
</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>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
|
@ -222,5 +222,22 @@
|
||||||
<string>fetch</string>
|
<string>fetch</string>
|
||||||
<string>remote-notification</string>
|
<string>remote-notification</string>
|
||||||
</array>
|
</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>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
import UIKit
|
import UIKit
|
||||||
|
|
||||||
|
import FBSDKCoreKit
|
||||||
import FirebaseCore
|
import FirebaseCore
|
||||||
import FirebaseMessaging
|
import FirebaseMessaging
|
||||||
|
|
||||||
|
@ -29,6 +30,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||||
application.registerForRemoteNotifications()
|
application.registerForRemoteNotifications()
|
||||||
UIApplication.shared.applicationIconBadgeNumber = 0
|
UIApplication.shared.applicationIconBadgeNumber = 0
|
||||||
|
|
||||||
|
ApplicationDelegate.shared.application(application, didFinishLaunchingWithOptions: launchOptions)
|
||||||
|
AppEvents.shared.activateApp()
|
||||||
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
import AppTrackingTransparency
|
import AppTrackingTransparency
|
||||||
|
|
||||||
|
import FBSDKCoreKit
|
||||||
import FirebaseDynamicLinks
|
import FirebaseDynamicLinks
|
||||||
|
|
||||||
@main
|
@main
|
||||||
|
@ -67,6 +68,7 @@ struct SodaLiveApp: App {
|
||||||
}
|
}
|
||||||
.onOpenURL { url in
|
.onOpenURL { url in
|
||||||
DEBUG_LOG("I have received a URL through a custom scheme! \(url.absoluteString)")
|
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 let scheme = url.scheme {
|
||||||
if scheme == "kr.co.vividnext.sodalive" {
|
if scheme == "kr.co.vividnext.sodalive" {
|
||||||
if let dynamicLink = DynamicLinks.dynamicLinks().dynamicLink(fromCustomSchemeURL: url) {
|
if let dynamicLink = DynamicLinks.dynamicLinks().dynamicLink(fromCustomSchemeURL: url) {
|
||||||
|
|
Loading…
Reference in New Issue