kvs-coder / health_kit_reporter

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

Flutter throwing categoryQuery identifier error #50

Open faalbane opened 2 years ago

faalbane commented 2 years 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 2 years ago

Hi @faalbane

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