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

[Health] Add UUID to HealthDataPoint #1013

Closed
DusanMicuda opened this issue Aug 8, 2024 · 7 comments · Fixed by #1019
Closed

[Health] Add UUID to HealthDataPoint #1013

DusanMicuda opened this issue Aug 8, 2024 · 7 comments · Fixed by #1019
Assignees
Labels
improvement an improvement

Comments

@DusanMicuda
Copy link

Could you please add uuid property to HealthDataPoint ? The Health Connect provides unique id of the data. It could be useful for saving this data to database on remote server.

@DusanMicuda DusanMicuda added the improvement an improvement label Aug 8, 2024
@SlimShadyIAm SlimShadyIAm self-assigned this Aug 8, 2024
@SlimShadyIAm
Copy link
Contributor

Thanks for your suggestion, I will look into this and open a PR for it soon.

@SlimShadyIAm
Copy link
Contributor

@DusanMicuda I'd appreciate if you could help test the PR I made above!

@DusanMicuda
Copy link
Author

I appreciate your work, but I think that it would make sense, if you could implement the ios side as well. There you can use HKObject.uuid

@SlimShadyIAm
Copy link
Contributor

SlimShadyIAm commented Aug 13, 2024

Actually, it seems like the the iOS side was already implemented (e.g

), it just wasn't read by our parsing code in Flutter.

But if you do test on iOS as well, could you check that you do get the UUIDs where you would expect?

@DusanMicuda
Copy link
Author

Sorry, I didn't notice that. I'll check it.

@DusanMicuda
Copy link
Author

Alright, I tested it. Looks like it works well for me 😁 Thank you so much 😊

@SlimShadyIAm
Copy link
Contributor

Wonderful. It will be included in the next major release which I hope is in the next couple of weeks.

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

Successfully merging a pull request may close this issue.

2 participants