Hey everyone,
I'm working on a watchOS SwiftUI workout app and am working on implementing recovering a workout after a crash.
I've added a WKExtensionDelegate by including @WKExtensionDelegateAdaptor property wrapper.
I've done some testing to verify that the delegate is working correctly by adding log statements in methods such as applicationDidBecomeActive() and applicationWillResignActive().
I've forced a crash in my app while a work session is active but it doesn't look like handleActiveWorkoutRecovery() is being called. I've installed the logging profile on my watch and don't see the log statement I added in the method.
Should handleActiveWorkoutRecovery() be called in the extension delegate of a SwiftUI watchOS app or am I doing something wrong?
Any help would be greatly appreciated!
I'm working on a watchOS SwiftUI workout app and am working on implementing recovering a workout after a crash.
I've added a WKExtensionDelegate by including @WKExtensionDelegateAdaptor property wrapper.
I've done some testing to verify that the delegate is working correctly by adding log statements in methods such as applicationDidBecomeActive() and applicationWillResignActive().
I've forced a crash in my app while a work session is active but it doesn't look like handleActiveWorkoutRecovery() is being called. I've installed the logging profile on my watch and don't see the log statement I added in the method.
Should handleActiveWorkoutRecovery() be called in the extension delegate of a SwiftUI watchOS app or am I doing something wrong?
Any help would be greatly appreciated!