Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Apple HealthKit data types #5

Closed
PaNaVTEC opened this issue Jun 2, 2019 · 3 comments
Closed

Apple HealthKit data types #5

PaNaVTEC opened this issue Jun 2, 2019 · 3 comments

Comments

@PaNaVTEC
Copy link

PaNaVTEC commented Jun 2, 2019

Hi,

I was wondering if there is any plan to support the data types that Apple supports even if they are not supported by google fit:

https://developer.apple.com/documentation/healthkit/data_types

For example,

static let waistCircumference: HKQuantityTypeIdentifier

Thanks.

@krokyze
Copy link
Owner

krokyze commented Jun 4, 2019

Hey @PaNaVTEC

Yes definitely, I just currently haven't decided how to handle unsupported data types and had time to do it, so if you're interested you can definitely make a pull request ;)

@PaNaVTEC
Copy link
Author

PaNaVTEC commented Jun 10, 2019

@krokyze I can take a look on how to implement it, do you have any idea/preference? I was thinking on returning something like an Option<T>, so if we publish all the possible datatypes it can return Some(measure) or Nothing.

@krokyze
Copy link
Owner

krokyze commented Jul 10, 2019

Hey @PaNaVTEC

Sorry for the late reply. Yes Optional sounds like the right choice. I will close this issue, feel free to open new one ;)

@krokyze krokyze closed this as completed Jul 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants