Post

Replies

Boosts

Views

Activity

How to get Auto-Pause preference from the watchOS Settings?
My App with outdoor-running activity type receives HKWorkoutEvent.motionPaused und HKWorkoutEvent.motionResumed events from HKLiveWorkoutBuilderDelegate, even if the User toggled the feature off in the workout settings (Settings -> Workout -> Auto-Pause). I guess this is unexpected behavior (FB11754136), but is there a way to check the user preference from the watchOS settings? Kind regards, Josh
1
0
1.7k
Nov ’22
How to properly ask for location permissions in WatchOS 8
Hi. I'm developing a running App for WatchOS. During onboarding I ask for location permission in order to save the workout route. I use requestWhenInUseAuthorization()on a CLLocationManager. Since WatchOS 8, I have encountered some weird behavior. After a while the permission seems to "reset" without any interaction by the user or the App. When I check the permission in WatchOS, its state is "Ask or When I Share". Am I'm missing something or is it a bug? I'm also unable to change the permissions in settings.
1
0
1.2k
Dec ’21
How to get Auto-Pause preference from the watchOS Settings?
My App with outdoor-running activity type receives HKWorkoutEvent.motionPaused und HKWorkoutEvent.motionResumed events from HKLiveWorkoutBuilderDelegate, even if the User toggled the feature off in the workout settings (Settings -> Workout -> Auto-Pause). I guess this is unexpected behavior (FB11754136), but is there a way to check the user preference from the watchOS settings? Kind regards, Josh
Replies
1
Boosts
0
Views
1.7k
Activity
Nov ’22
How to properly ask for location permissions in WatchOS 8
Hi. I'm developing a running App for WatchOS. During onboarding I ask for location permission in order to save the workout route. I use requestWhenInUseAuthorization()on a CLLocationManager. Since WatchOS 8, I have encountered some weird behavior. After a while the permission seems to "reset" without any interaction by the user or the App. When I check the permission in WatchOS, its state is "Ask or When I Share". Am I'm missing something or is it a bug? I'm also unable to change the permissions in settings.
Replies
1
Boosts
0
Views
1.2k
Activity
Dec ’21