Skip to content

[ADD] HealthKit | New function to obtain data with a fixed duration.#15

Merged
tetujin merged 6 commits intomasterfrom
feature/healthkit-added-duration-obtain-func
Feb 9, 2026
Merged

[ADD] HealthKit | New function to obtain data with a fixed duration.#15
tetujin merged 6 commits intomasterfrom
feature/healthkit-added-duration-obtain-func

Conversation

@tetujin
Copy link
Owner

@tetujin tetujin commented Feb 9, 2026

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds APIs to the HealthKit plugin to fetch HealthKit data up to a fixed end date (bounded query window), and wires additional callbacks during HealthKit sample processing.

Changes:

  • Add readAllData, readDataWithDataTypes:, and setEndFetchDate: to AWAREHealthKit.
  • Emit SensorEventHandler callbacks from HealthKit quantity/category plugins while processing samples.
  • Minor cleanup in the HealthKit example app and a change to device metadata insertion.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
Example/AWARE-HealthKit/AppDelegate.swift Removes an extra blank line in HealthKit example setup.
AWAREFramework/Classes/Sensors/Device/AWAREDevice.m Modifies how label-related data is added to the device info payload.
AWAREFramework/Classes/Plugins/HealthKit/AWAREHealthKitQuantity.m Adds per-sample sensor event handler invocation while buffering HealthKit quantity results.
AWAREFramework/Classes/Plugins/HealthKit/AWAREHealthKitCategory.m Adds per-sample sensor event handler invocation while buffering HealthKit category results.
AWAREFramework/Classes/Plugins/HealthKit/AWAREHealthKit.m Introduces end-date bounding (fetchEndDate) and refactors “read all” into reusable methods.
AWAREFramework/Classes/Plugins/HealthKit/AWAREHealthKit.h Exposes the new HealthKit fetch APIs in the public header.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

tetujin and others added 2 commits February 9, 2026 14:28
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI commented Feb 9, 2026

@tetujin I've opened a new pull request, #16, to work on those changes. Once the pull request is ready, I'll request review from you.

tetujin and others added 3 commits February 9, 2026 14:30
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: tetujin <1227623+tetujin@users.noreply.github.com>
Use nil for object pointers and HKSampleType for generic sample iteration
@tetujin tetujin merged commit d8cbcb3 into master Feb 9, 2026
1 check passed
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.

3 participants