cph-cachet / flutter-plugins

A collection of Flutter plugins developed by CACHET
549 stars 675 forks source link

[health 2.0.6] Choose DataSource to import from. #204

Open madz opened 4 years ago

madz commented 4 years ago

Is there a way to choose what data source to import from?

I have Fitbit that was syncing in my iPhone. The problem is Health 2.0.6 is also getting that data from Fitbit and adding it up to the data of the iPhone.

It would be helpful if there is a way to get the data from a specific data source instead of just getting all the data from all the available data sources.

thomasnilsson commented 4 years ago

Will look into this, it seems like it is possible to query on data sources, but I can't tell whether filtering on a source will be easy to implement or not.

carlleeswanson commented 4 years ago

Health seems to work with Google Fit only on Android (not with Google Fit on iOS). Or am I missing something?

Do I need to do some additional configuration to get Health to pull data exclusively/directly from Google Fit on iOS (i.e. when it is not synced with Apple Health)?

madz commented 4 years ago

Will look into this, it seems like it is possible to query on data sources, but I can't tell whether filtering on a source will be easy to implement or not.

Thank you!

oakmad commented 3 years ago

I'm encountering this as well. It would be good if we could get HKSource or HKSourceRevision type data in the HealthDataPoint - I don't mind manually filtering out the devices. The issue I've got currently is that its difficult for more to get an accurate step count as Apple Watch and iPhone are effectively duplicated but not consolidated with removeDuplicates.

maratbekovaidar commented 1 year ago

This issue still open? Or this was added feature?

Cobolt77 commented 11 months ago

Bump!

wasibdev commented 7 months ago

Any hope on this? It will be easy if apply filter before fetching the data. We could get it from HKSource for apple right? Is there a chance to get the source list in priority order like in apple health app?