feat(event): 이벤트 상세 딥링크와 OneLink를 연결한다

This commit is contained in:
Yu Sung
2026-10-29 15:44:21 +09:00
parent ed92dfbe40
commit c78f7417ab
7 changed files with 595 additions and 10 deletions
+3 -5
View File
@@ -101,6 +101,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
AppsFlyerLib.shared().delegate = self
AppsFlyerLib.shared().deepLinkDelegate = self
AppsFlyerLib.shared().addPushNotificationDeepLinkPath(["deep_link"])
}
private func logUtmInFirebase() {
@@ -221,6 +222,7 @@ extension AppDelegate: DeepLinkDelegate {
}
logUtmInFirebase()
_ = AppDeepLinkHandler.handleEventDeepLink(result: result)
}
}
@@ -272,11 +274,7 @@ extension AppDelegate : UNUserNotificationCenterDelegate {
Messaging.messaging().appDidReceiveMessage(userInfo)
Notifly.userNotificationCenter(center, didReceive: response)
let deepLinkString = (userInfo["deep_link"] as? String ?? "")
.trimmingCharacters(in: .whitespacesAndNewlines)
if !deepLinkString.isEmpty {
_ = AppDeepLinkHandler.handle(urlString: deepLinkString)
if AppDeepLinkHandler.handlePushDeepLink(userInfo: userInfo) {
completionHandler()
return
}