Not sure if this is the best place to post this, but I couldn't find a dedicated HealthKit forum, so I figure this is best.
I'm creating an app that tracks workouts at the gym. I've created an HKWorkout and set its activity type to HKWorkoutActivityType.TraditionalStrengthTraining. I run my HKWorkoutSession, the calories get counted, and the workout gets logged in the Health app when completed, but the workout time (I tried five minutes) didn't get added to my green exercise ring on my Apple Watch.
It was mentioned in the WWDC keynote that WatchKit apps can contribute to the exercise ring, so I'm wondering if I'm missing something?
Another thing I noticed is that while the HKWorkoutSession is created, and I am able to save it later on, my WatchKit app does not stay in the foreground while the workout session is currently in progress. Perhaps this hasn't been implemented in the first beta?