HealthKit
HealthKit copied to clipboard
Manual Step Count Values
Currently this plugin can show both verified step data and manual input step data. How to fact or verify that step count values from plugin are manual input data or not?
I don't think there is a way, they are both considered steps.
Currently I found some solution from here http://stackoverflow.com/questions/31184628/ignore-manual-entries-from-apple-health-app-as-data-source
I use "querySampleTypeAggregated". In "HealthKit.m" I added predicate at the line 1433: NSPredicate *predicate = [NSPredicate predicateWithFormat:@"metadata.%K != YES", HKMetadataKeyWasUserEntered]; instend of "nil"
It's work for me. Any ideas?
It would be great to have a filter param.