15 Replies
      Latest reply on Aug 10, 2019 7:34 AM by reptcarileb
      fousa Level 1 Level 1 (0 points)

        Hi,

         

        I'm try to get HealthKit authorization in my independent watchOS 6 application. But for some reason executing the following code doesn't do anything. The given closure isn't triggered.

         

        store.requestAuthorization(toShare: self.shareTypes, read: self.readTypes) { [weak self] _, error in
             
        }
        

         

        I added the two required entries to my Info.plist of the watchOS target, and the extension has the correct HealthKit entitlements. Is this feature not yet implemented in the current beta's?

         

        Would love to start playing with this.