Skip to content

Conversation

@robertherber
Copy link
Member

Add dedicated helper functions, hooks, and example UI for working with
HealthKit mindful sessions. This provides developers with an easier API
for tracking meditation and mindfulness data.

Changes:

  • Add saveMindfulSession() helper for recording mindful sessions
  • Add queryMindfulSessions() for retrieving session history
  • Add getMostRecentMindfulSession() for latest session
  • Add subscribeToMindfulSessions() for real-time updates
  • Add useMostRecentMindfulSession() React hook
  • Add useSubscribeToMindfulSessions() React hook
  • Add example screen in example app with session creation and display
  • Update README with mindful session usage examples
  • Export all new functions from main healthkit module

Add dedicated helper functions, hooks, and example UI for working with
HealthKit mindful sessions. This provides developers with an easier API
for tracking meditation and mindfulness data.

Changes:
- Add saveMindfulSession() helper for recording mindful sessions
- Add queryMindfulSessions() for retrieving session history
- Add getMostRecentMindfulSession() for latest session
- Add subscribeToMindfulSessions() for real-time updates
- Add useMostRecentMindfulSession() React hook
- Add useSubscribeToMindfulSessions() React hook
- Add example screen in example app with session creation and display
- Update README with mindful session usage examples
- Export all new functions from main healthkit module
@changeset-bot
Copy link

changeset-bot bot commented Dec 24, 2025

⚠️ No Changeset found

Latest commit: 127d102

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 24, 2025

Open in StackBlitz

npm i https://pkg.pr.new/kingstinct/react-native-healthkit/@kingstinct/react-native-healthkit@291

commit: 127d102

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