grabbou / react-native-healthkit

A React Native bridge module to access iOS HealthKit APIs
37 stars 8 forks source link

HealthKit.TypeIdentifiers is not exported #1

Open FrankSalad opened 8 years ago

FrankSalad commented 8 years ago

One of the examples appears to be using HealthKit.TypeIdentifiers: https://github.com/elliottsj/react-native-healthkit/blob/master/examples/RCTHealthKitExample/src/components/Characteristics.js#L32

This doesn't appear in the constantsToExport section so I'm now sure how these value actually make it over to the Javascript side. I don't see them defined on the HealthKit object when I use it myself either.

Thanks for your work on this! :+1:

elliottsj commented 8 years ago

Hey, thanks for the issue. I made this project as part of a hackathon, but unfortunately I'm not working on that app anymore, thus no longer using this project. If you'd like to take over this project, I'm happy to give you publish access to the npm package

FrankSalad commented 8 years ago

Sure! Thanks :+1:

elliottsj commented 8 years ago

@FrankSalad What's your npm username?

FrankSalad commented 8 years ago

My npm username is fvs

michaelcox commented 8 years ago

@FrankSalad - If you start a new repo that you'd like to maintain, let me know. I'm currently forking off of this as a starting point, but there should be a canonical healthkit integration for react native.

elliottsj commented 8 years ago

@FrankSalad Sorry for the late response. I've added you as an owner for https://www.npmjs.com/package/react-native-healthkit