Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter throwing categoryQuery identifier error #50

Open
faalbane opened this issue Sep 26, 2022 · 1 comment
Open

Flutter throwing categoryQuery identifier error #50

faalbane opened this issue Sep 26, 2022 · 1 comment

Comments

@faalbane
Copy link

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
Copy link
Owner

Hi @faalbane

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants