Healthkit and heart rate using Apple Watch and Ionic

I am making an AppleWatch application that gathers users second-by-second heart rate. I want to relay this data to my ionic app. I’m thinking of using health kit but I’m not quite sure if this is the correct approach.

How can I connect my ionic application to an AppleWatch app? Are there native plugins I can use? I know ionic-Cordova offers a native plugin called ‘health’ and the ios native-plugin ‘HealthKit’ but I don’t think my Apple watch app will route through Apples HealthKit.

Are you going to write your own extension? I think you need a piece of native code that lives on the watch. But I’ve never done it myself, so I’m not sure.

Well, what I’m thinking of doing is making an Apple watch app that sends user data (such as heart-rate to a cloud database) then pulling that info straight into my ionic app, however, I don’t know if I can just bypass the AppleHealth iPhone app for extracting watch-produced health data. (I know these questions are very ios orientated)