Heart rate update rate on the phone

I have an iPhone iOS 10 app with WatchKit 3 Watch app extension.

Watch app works with HKWorkoutSession

and successfully requests data .heartRate

. The sample is returned every 5 seconds.

A similar query works in a phone app, but it usually returns an empty array of samples, although it sometimes returns a batch of samples representing a longer period of data from hours (like 10 minutes, say). Presumably this is a tactic to save battery on the watch.

Is it possible for the phone app to request heartRate from the HealthStore at the same rate as the watcher app, or for the watch to display data more frequently via HealthKit?

I can get around this by pushing data from the watch to the phone using WCSession

sendMessage(_:replyHandler:errorHandler:)

- but I would prefer that I could just request HealthKit right on the phone.

+3
ios watchkit health-kit


source to share


No one has answered this question yet

Check out similar questions:

nine
iOS gets heart rate from Apple Watch in near real time
8
How to get sensor data from Apple Watch to iPhone?
five
How to update iOS app with Apple Watch heart rate via healthkit? (HealthKit sync)
3
Apple Watch Core Motion Data on iPhone?
2
Do not receive accelerometer and heart rate data when screen is off in watchOS 2
2
HKworkoutSession Heartrate refresh rate
1
Swift for Heart Rate Detection HealthKit
0
How to get heart rate in apple viewer app even when apple clock is locked / got black screen?
0
iOS HealthKit - how to get the most recent current heart rate like watch complication?
0
How to name the functions to expand the watch from iPhone and vice versa



All Articles
Loading...
X
Show
Funny
Dev
Pics