feat(event): 이벤트 상세 딥링크와 OneLink를 연결한다
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user