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

Added "aggregate" function to get statistics about metrics. #18

Open
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

quentinleguennec
Copy link

Hi, this pull request adds a new function to get aggregated statistics about metrics (using the android function "aggregate").

I also updated the README to mention:

Add the following line to the end of your "android/gradle.properties" file:
android.jetifier.ignorelist = jackson-core, jackson-databind, jackson-datatype-jsr310, fastdoubleparser

This was preventing me from compiling when I tested on my app.

@quentinleguennec
Copy link
Author

@imdzx Should I assign that to someone for review? Let me know if I can help.

@AliAhmad44550
Copy link

@quentinleguennec can you Please add the functions for getting Health Connect aggregate data into buckets? There are two types of buckets you can use duration (AggregateGroupByDurationRequest) and period(AggregateGroupByPeriodRequest).

@quentinleguennec quentinleguennec force-pushed the feature_added_aggregate_function branch from 2080ab5 to cf62684 Compare July 24, 2024 16:49
@quentinleguennec quentinleguennec force-pushed the feature_added_aggregate_function branch from cf62684 to da03ad8 Compare July 24, 2024 17:11
Added support for the Privacy Policy button redirect in the Google Health permission Activity.
Updated README.md.
Ran AGP upgrade assistant.
@quentinleguennec quentinleguennec force-pushed the feature_added_aggregate_function branch 3 times, most recently from 895595b to 961c3e1 Compare July 26, 2024 18:09
…ped from within the permission activity.

Updated README.md.
Updated example app.
@quentinleguennec quentinleguennec force-pushed the feature_added_aggregate_function branch from 961c3e1 to a177525 Compare July 26, 2024 21:09
quentinleguennec and others added 16 commits July 26, 2024 15:38
…talled.

Improved errors handling.
Refactored code.
…ature_added_aggregate_function' into feature_added_aggregate_function-merge

# Conflicts:
#	android/src/main/kotlin/dev/duynp/flutter_health_connect/FlutterHealthConnectPlugin.kt
#	lib/src/flutter_health_connect_factory.dart
BREAKING: `writeData` now returns a list of the uids of the created Records instead of a boolean.
Fixed `deleteRecordsByIds`, which would delete the records but then throw an error.
Fixed `deleteRecordsByTime`, which would delete the records but then throw an error.
Added documentation.
Improved the Example app to add a button for each `deleteRecordsByIds` and `deleteRecordsByTime`.
Fixed issue with timestamps: [#1](#1) by [AliakseiT](https://github.com/AliakseiT) and [nikolaydymura](https://github.com/nikolaydymura)
Added `getRecordById` [#1](#1) by [AliakseiT](https://github.com/AliakseiT) and [nikolaydymura](https://github.com/nikolaydymura)
Improved the Example app to add a button for `getRecordById`.
…tion

Added exercise route fetching and fixed time zones parsing
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

Successfully merging this pull request may close these issues.

4 participants