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

Apple Health Full Data Sync #498

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

bassrock
Copy link
Contributor

@bassrock bassrock commented Jan 17, 2023

Goal

I use a Dario, which logs glucose values in it's own app and then sync it to Apple Health. There are other scenarios, like Smart Insulin pens that do the same thing.

The goal here is to do a full Apple Health sync pulling in data from other apps syncing to Apple Health and showing them within Glucose Direct.

This will require some migration of the existing data Glucose Direct saves to Apple Health, because we need to delete and resync it to save off the Apple Health Sync ID to prevent duplicate data being sent to Apple Health and so we can reliably delete and update data as needed.

This will also register Glucose Direct to recieve background apple updates.

@creepymonster creepymonster added the enhancement New feature or request label Jan 17, 2023
@bassrock bassrock changed the title [WIP] Apple Health Full Data Sync Apple Health Full Data Sync Jan 29, 2023
@bassrock bassrock marked this pull request as ready for review January 29, 2023 00:13
@bassrock
Copy link
Contributor Author

@creepymonster Ok this one is ready for review! This will sync data back and forth from HealthKit maintaining identifiers.

So if you use another app to input/modify values, it will bring it into GlucoseDirect using Apple Health Background updates.

@thetimetraveler
Copy link

how come this hasn't been merged yet?

@muchosun
Copy link

Merge it))))))

@bassrock bassrock force-pushed the apple-health-full-sync branch from 42babcd to dedaeb8 Compare July 23, 2023 17:25
@stoopman
Copy link

I would very much like to see this merged as well 😁

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

Successfully merging this pull request may close these issues.

5 participants