fix(notification): 푸시 딥링크 우선 실행 분기를 보정한다

This commit is contained in:
Yu Sung
2026-03-13 11:34:10 +09:00
parent af8813685e
commit d5d5d97c2a
5 changed files with 45 additions and 1 deletions

View File

@@ -265,6 +265,15 @@ extension AppDelegate : UNUserNotificationCenterDelegate {
// With swizzling disabled you must let Messaging know about the message, for Analytics
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)
completionHandler()
return
}
let roomIdString = userInfo["room_id"] as? String
let contentIdString = userInfo["content_id"] as? String