Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ottob opened this issue Mar 13, 2020 · 2 comments
Open

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

ottob opened this issue Mar 13, 2020 · 2 comments

Comments

@ottob
Copy link

ottob commented Mar 13, 2020

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
Copy link
Contributor

dmitov commented Mar 15, 2020

On iOS they are available, yes.

The situation with Android is:

  • Weight - supported
  • Height - supported
  • BMI - complex, due to the two below not supported
  • Date of Birth - not supported
  • Gender - not supported

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
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants