From 6af7d8e96bd920f22976efc58adc2f1fa94850bc Mon Sep 17 00:00:00 2001 From: GRJeon <104538652+GRJeon@users.noreply.github.com> Date: Thu, 5 Feb 2026 18:27:18 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20watch=20state=20push=20session=20?= =?UTF-8?q?=ED=99=9C=EC=84=B1=ED=99=94=20=EC=9D=B4=ED=9B=84=EB=A1=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppleWatch/WatchConnectionManger+watchOS.swift | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mirroringBooth/mirroringBooth/Device/Remote/AppleWatch/WatchConnectionManger+watchOS.swift b/mirroringBooth/mirroringBooth/Device/Remote/AppleWatch/WatchConnectionManger+watchOS.swift index cec04f06..aa641c07 100644 --- a/mirroringBooth/mirroringBooth/Device/Remote/AppleWatch/WatchConnectionManger+watchOS.swift +++ b/mirroringBooth/mirroringBooth/Device/Remote/AppleWatch/WatchConnectionManger+watchOS.swift @@ -69,11 +69,11 @@ final class WatchConnectionManager: NSObject { session.delegate = self - // iPhone에게 Watch 앱이 active 상태임을 전달 - pushWatchAppState(.active) - if session.activationState == .activated { self.logger.info("WCSession이 이미 활성화되어 있습니다.") + + // 이미 활성화된 경우 상태 푸시 + pushWatchAppState(.active) // 이미 활성화된 경우에도 현재 상태를 확인하여 콜백 호출 let context: [String: Any] = session.receivedApplicationContext @@ -190,6 +190,9 @@ extension WatchConnectionManager: WCSessionDelegate { self.logger.error("WCSession 활성화 실패: 오류=\(error.localizedDescription)") } else { self.logger.info("WCSession 활성화 성공") + Task { @MainActor in + self.pushWatchAppState(.active) + } } let context: [String: Any] = session.receivedApplicationContext From de26f560b5a6251671201d3ee67b2a70da37d026 Mon Sep 17 00:00:00 2001 From: GRJeon <104538652+GRJeon@users.noreply.github.com> Date: Thu, 5 Feb 2026 18:27:53 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=EC=84=B8=EC=85=98=EC=9D=B4=20?= =?UTF-8?q?=EC=97=B0=EA=B2=B0=EB=90=98=EA=B3=A0=20=EB=82=98=EB=A9=B4=20Rea?= =?UTF-8?q?chability=20=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Device/Camera/Browser/WatchConnectionManager+iOS.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mirroringBooth/mirroringBooth/Device/Camera/Browser/WatchConnectionManager+iOS.swift b/mirroringBooth/mirroringBooth/Device/Camera/Browser/WatchConnectionManager+iOS.swift index d4b2b45e..d18c48a4 100644 --- a/mirroringBooth/mirroringBooth/Device/Camera/Browser/WatchConnectionManager+iOS.swift +++ b/mirroringBooth/mirroringBooth/Device/Camera/Browser/WatchConnectionManager+iOS.swift @@ -68,9 +68,7 @@ final class WatchConnectionManager: NSObject { self.logger.info("WCSession이 이미 활성화되어 있습니다.") // 이미 활성화된 경우 현재 reachable 상태를 확인하여 콜백 호출 - Task { @MainActor in - self.onReachableChanged?(session.isReachable) - } + handleWatchReachability(session: session) return } @@ -200,6 +198,7 @@ extension WatchConnectionManager: WCSessionDelegate { } else { self.logger.info("WCSession 활성화 성공") } + handleWatchReachability(session: session) } nonisolated func session(