Skip to content

Commit 328b451

Browse files
committed
Restore activationDidCompleteWith method
1 parent b19d79c commit 328b451

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

WooCommerce/Classes/System/WatchDependenciesSynchronizer.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ final class WatchDependenciesSynchronizer: NSObject, WCSessionDelegate {
145145
.store(in: &subscriptions)
146146
}
147147

148+
func session(_ session: WCSession, activationDidCompleteWith activationState: WCSessionActivationState, error: Error?) {
149+
DDLogInfo("🔵 WatchSession activated \(activationState)")
150+
self.isSessionActive = activationState == .activated
151+
}
152+
148153
func sessionDidBecomeInactive(_ session: WCSession) {
149154
// No op
150155
}

0 commit comments

Comments
 (0)