Gear S3 Heart Rate reading 0’s

Gear S3 Heart Rate reading 0’s

BY 04 Dec 2018 Web Application Development

Hello, 

I am building a web application for the Samsung Gear S3 Frontier on Tizen 2.3.2. I am trying to read the heart rate with the following code: 

function startRecording() {
	tizen.humanactivitymonitor.start('HRM', onchangedCB);
}
function onchangedCB(hrmInfo) {
    console.log('Heart Rate: ' + hrmInfo.heartRate);
    console.log(hrmInfo);
}

But the heart rate object is just 0’s for heartRate and rRInterval. I have tested the native heartrate monitor app on the watch and it appears to work, and I am using a partner certificate. What could be wrong here and how do I fix it?

Thanks!

Written by