health_kit_reporter icon indicating copy to clipboard operation
health_kit_reporter copied to clipboard

A Flutter wrapper for the HealthKitReporter library

Results 22 health_kit_reporter issues
Sort by recently updated
recently updated
newest added

HI, Is there a way to relate the data as a while for example which workout route for this workout? Thanks

**Describe the bug** the swimBikeRun WorkoutActivityType is missing, resulting in an InvalidValueException. This breaks HealthKitReporter.workoutQuery() with no way to work around the issue. **To Reproduce** Record a swimikeRun activity and...

**Describe the bug** Using the `await HealthKitReporter.addQuantity` function causes the app to hard crash. **To Reproduce** ```dart final preferredUnits = await HealthKitReporter.preferredUnits( [ QuantityType.activeEnergyBurned, QuantityType.stepCount, QuantityType.distanceCycling ], ); final calorieUnit...

When building a flutter app which uses this plugin, a deprecation warning is issued: ``` /Users/xxx/.pub-cache/hosted/pub.dartlang.org/health_kit_reporter-2.1.0/ios/Classes/Extensions+SwiftHealthKitReporterPlugin.swift:626:45: warning: 'sampleQuery(type:predicate:sortDescriptors:limit:resultsHandler:)' was deprecated in iOS 11: Use special functions for fetching Quantity/Category/Workout samples....

According to https://developer.apple.com/documentation/healthkit/hkobject/1615483-sourcerevision Category.sourceRevision is not meant to be settable by the user when creating an HKObject, but only by HealthKit itself when retrieving data.

`dyld: Symbol not found: _OBJC_CLASS_$_HKElectrocardiogramQuery Referenced from: /private/var/containers/Bundle/Application/943403A9-5FAB-401D-B053-3DA33B6223C0/Runner.app/Frameworks/HealthKitReporter.framework/HealthKitReporter Expected in: /System/Library/Frameworks/HealthKit.framework/HealthKit in /private/var/containers/Bundle/Application/943403A9-5FAB-401D-B053-3DA33B6223C0/Runner.app/Frameworks/HealthKitReporter.framework/HealthKitReporter (lldb) ` I got an error when i pulled example from your repository on the master branch....

**Is your feature request related to a problem? Please describe.** Is it possible to write HKCumulativeQuantitySample values? For instance, I'd like to write QuantityType.dietaryEnergyConsumed values per day. Sample code: final...

flutter: PlatformException(CategoryQuery, Error in categoryQuery for identifier: HKCategoryTypeIdentifierSleepAnalysis, Optional(Error Domain=com.apple.healthkit Code=5 "Authorization not determined" UserInfo={NSLocalizedDescription=Authorization not determined}), null) final readTypes = [ CategoryType.sleepAnalysis.identifier ]; iOS 16.0

iOS 16 brings new sleep stages: REM, Core, Deep

## Status READY ## Description There is no option to collect the voltage measurements for electrograms with inconclusive poor readings because they do not have any value for `averageHeartRate`. Therefore,...