Is there a way to know users have enabled pausing their Activity Rings?

Hi everyone,

With iOS 18 and watchOS 11 it is possible to pause your activity rings so that a streak is not broken when you are ill or something like that.

When we request data from the HealthStore, is there a way to know that a user has set this option for a particular date or period? Or will the data for that date just return nil for all 3 ring values or even skip the day in the dataset?

I have an app in which I also keep track of people's streaks, so it would really useful to know if the activity rings are paused.

Thanks in advance!

Answered by Engineer in 790544022

A new property has been added to HKActivitySummary called paused that indicates if the user was paused for that day. The rest of the rings data will be there as it is still being collected, just not contributing towards streaks or awards.

You can query for HKActivitySummary using HKActivitySummaryQuery

Accepted Answer

A new property has been added to HKActivitySummary called paused that indicates if the user was paused for that day. The rest of the rings data will be there as it is still being collected, just not contributing towards streaks or awards.

You can query for HKActivitySummary using HKActivitySummaryQuery

Is there a way to know users have enabled pausing their Activity Rings?
 
 
Q