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

Deprecated usage warning #53

Open
shilangyu opened this issue Feb 1, 2023 · 0 comments
Open

Deprecated usage warning #53

shilangyu opened this issue Feb 1, 2023 · 0 comments

Comments

@shilangyu
Copy link
Contributor

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. For Quantity Samples will return with SI units
                let query = try reporter.reader.sampleQuery(

I do not know much about iOS development so I cannot comment on it more than just pasting the warning here.

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

1 participant