Skip to content

Conversation

@lekanbar
Copy link

@lekanbar lekanbar commented Jan 14, 2026

Summary

Adds support for the MINDFULNESS health data type for tracking meditation sessions which is now fully supported on the latest Google Health Connect client dependency.

Changes

android/build.gradle

Bumped to the nearest version of the Health Connect library that supports the Mindfulness type (see here).

HealthConstants.kt

Added the new MINDFULNESS data type constant and mapToType entry for it.

HealthDataWriter.kt

Added a new record object creator for MINDFULNESS to the createRecord factory.

health_data_types.dart

Added MINDFULNESS to the list of data types for Android - dataTypeKeysAndroid.

Behavior

Gives the ability to log MINDFULNESS minutes to Google Health Connect using this plugin.

@lekanbar lekanbar changed the title Add support for MINDFULNESS data type. Add support for MINDFULNESS health data type. Jan 14, 2026
@YauheniPravilau
Copy link

👍
Great work! This is a really valuable update. I’d love to see this PR merged into the main repository.

@wanosoft
Copy link

Thank you! @lekanbar

@martin-headspace
Copy link
Contributor

Way to go @lekanbar !

@joao-henrique-headspace

Thanks @lekanbar !!

@tonyrbf96
Copy link

Awesome!

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.

6 participants