Post

Replies

Boosts

Views

Activity

Comment on Can we start an HKObserverQuery and read data when notified when the phone is locked?
Thank you for your answer. What is bothering me is that the watch application can receive this information but not the iPhone counterpart application which both belong to the same application (I understand the phone lock issue). I will circumvent this limitation by sending the heart rate information from the watch to the phone as it appears to be the only possible solution for me to get the heart rate data on the phone where the workout saving process occurs. Feel free to contact me by private message if you want to understand my specific use-case.
Nov ’21
Comment on When do the HKWorkoutBuilder.finishWorkout() returns nil ?
Thank you for your answer. I've updated my code to get the HKWorkoutRouteBuilder from the HKWorkoutBuilder directly as I though It would auto-magically link the workout with the route but I'm still not able to correctly save the workout. I've open a new question with this specific issue : https://developer.apple.com/forums/thread/695845
Replies
Boosts
Views
Activity
Dec ’21
Comment on Can we start an HKObserverQuery and read data when notified when the phone is locked?
Thank you for your answer. What is bothering me is that the watch application can receive this information but not the iPhone counterpart application which both belong to the same application (I understand the phone lock issue). I will circumvent this limitation by sending the heart rate information from the watch to the phone as it appears to be the only possible solution for me to get the heart rate data on the phone where the workout saving process occurs. Feel free to contact me by private message if you want to understand my specific use-case.
Replies
Boosts
Views
Activity
Nov ’21