I can create WorkoutGoals of all kinds except .energy, but I can't find any indication of the conditions under which energy goals can be used.
No matter what I try, the response from supportsGoal is always false e.g.
CustomWorkout.supportsGoal(.energy(10, .kilojoules), activity: .running, location: .outdoor)
CustomWorkout.supportsGoal(.energy(10, .calories), activity: .cycling, location: .outdoor)
CustomWorkout.supportsGoal(.energy(10, .kilocalories), activity: .running, location: .outdoor)
For any combination I've tried, I get Not supported due to unsupportedGoal
Has anybody managed to successfully create energy goals?
Post
Replies
Boosts
Views
Activity
A lot of apps don't need or want any network access, and both users and developers are getting much more conscious of potential privacy breaches.
Is there a way of specifying that an app doesn't need any network access at all, and therefore being able to put users' minds at ease that the app couldn't send any data anywhere even if it 'wanted' to.