OvalMoney / react-native-fitness

A React Native module to interact with Apple Healthkit and Google Fit.
MIT License
343 stars 68 forks source link

Feature request - weight, height, bmi, dob, sex #44

Open ottob opened 4 years ago

ottob commented 4 years ago

Hi, this looks like a really nice package with a clean api.

Any plans of adding support for reading/writing these additional data types? I know they are available on iOS, but I don't know about Android.

dmitov commented 4 years ago

On iOS they are available, yes.

The situation with Android is:

However, DoB and Gender can be fetched from Google's People API. It might make sense to bake in this functionality, but it would require integrating one more API to get all of the features. If you're interested in putting down some code, I can give you guidance and anything you need. :)

Cheers!

patrick-samy commented 3 years ago

Hey @dmitov,

When you say weight/height are available/supported, do you mean they're already implemented in the react-native-fitness APIs?

If not and you have any guidance to provide, I'd be happy to take a shot at it and submit a PR if successful.

Cheers!