Releases: matinzd/react-native-health-connect
Releases · matinzd/react-native-health-connect
Release list
Release 4.1.3
Release 4.1.2
Release 4.1.1
Release 4.1.0
4.1.0 (2026-08-01)
Features
Adds support for the MindfulnessSession record type and moves the Android
dependency from connect-client:1.1.0-alpha11 to stable 1.1.0.
MindfulnessSession
await insertRecords([
{
recordType: 'MindfulnessSession',
startTime: '2026-08-01T10:00:00.000Z',
endTime: '2026-08-01T10:20:00.000Z',
mindfulnessSessionType: MindfulnessSessionType.MEDITATION,
title: 'Morning meditation',
},
]);- New
MindfulnessSessionTypeconstant:UNKNOWN,MEDITATION,BREATHING,
MUSIC,MOVEMENT,UNGUIDED. - Requires
android.permission.health.READ_MINDFULNESS/WRITE_MINDFULNESS. - Aggregation is not supported for this record type by Health Connect.
- Still experimental upstream (
ExperimentalMindfulnessSessionApiin
connect-client:1.1.0) — fields and permissions may change, and it may not be
available on every device or Health Connect version.
Health Connect 1.1.0
The Metadata constructor is now internal, so id, dataOrigin and
lastModifiedTime are assigned by Health Connect on write and ignored if
supplied from JS. recordingMethod, clientRecordId, clientRecordVersion
and device are unaffected, as is metadata on read.
Docs and the example app cover the new record type.
Release 4.0.0
4.0.0 (2026-08-01)
- feat(expo)!: bundle expo module, drop separate expo-health-connect package (#262) (27e858c), closes #262
BREAKING CHANGES
- Expo config is now built in. Remove
expo-health-connect,
replace theexpo-health-connectentry in your app.jsonpluginsarray with
react-native-health-connect, and re-runexpo prebuild --clean. Leaving
expo-health-connectinstalled will fail the Android build with a duplicate
expo.modules.healthconnect.HealthConnectPackageclass. Bare React Native
projects are unaffected.