kvs-coder / health_kit_reporter

A Flutter wrapper for the HealthKitReporter library
https://pub.dev/packages/health_kit_reporter
MIT License
34 stars 30 forks source link

Flutter throwing categoryQuery identifier error #50

Open faalbane opened 1 year ago

faalbane commented 1 year ago

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

kvs-coder commented 1 year ago

Hi @faalbane

Please check the new 2.1.0 version (I added missing types)