Skip to content

Conversation

cachapa
Copy link
Contributor

@cachapa cachapa commented Feb 3, 2025

Created two new methods isHealthDataHistoryAuthorized() and requestHealthDataHistoryAuthorization().

Both methods are no-op on iOS and return true since Apple Health does not restrict history length.

Closes #1126

Created two new methods isHealthDataHistoryAuthorized() and
requestHealthDataHistoryAuthorization().

Both methods are no-op on iOS and return true since Apple Health does
not restrict history length.

Closes carp-dk#1126
@iarata iarata changed the base branch from master to iarata/health-12 February 27, 2025 13:21
@iarata iarata self-assigned this Feb 27, 2025
@iarata iarata changed the base branch from iarata/health-12 to health-12/1127-hc-history February 27, 2025 13:32
@iarata iarata merged commit db95b02 into carp-dk:health-12/1127-hc-history Feb 27, 2025
1 check passed
@iarata
Copy link
Contributor

iarata commented Feb 27, 2025

@cachapa Thanks for the PR.
Did you try to build the package after updating the healthConnect client to alpha 11?

@iarata iarata mentioned this pull request Mar 1, 2025
@cachapa
Copy link
Contributor Author

cachapa commented Mar 3, 2025

@cachapa Thanks for the PR. Did you try to build the package after updating the healthConnect client to alpha 11?

Sorry for missing your message over the weekend.
I did test with the latest master as I was developing this.

I'm happy to test again but since this was already merged I'm guessing there's no need anymore.

@iarata iarata mentioned this pull request Mar 14, 2025
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.

[Health 12.0.1] Support for PERMISSION_READ_HEALTH_DATA_HISTORY in Health Connect
2 participants