Reading RestingHeartRate return an empty array
cjae opened this issue · 3 comments
cjae commented
Describe the bug
I'm getting empty Resting Heart Rate in my app, while in Samsung health app I have both heart rate and resting heart rate.
To Reproduce
const timeRangeFilter: TimeRangeFilter = {
operator: 'between',
startTime: startTime,
endTime: endTime,
};
const heartRateData = await readRecords('RestingHeartRate', {
timeRangeFilter,
dataOriginFilter,
});
console.log({ heartRateData }); // Empty Array
Expected behavior
Should return an array of heart rate objects
Environment:
- Health Connect Version: 2.0.3
- React Native Version: 0.74.1
- New architecture enabled: Yes
- Using Expo: Go (Development Build)