Acknowledged

getHeartRateHistory () Venu 2

Hi.

Im using this code in my watchface to retrieve heart rate history and draw a Graph, It works in all devices except Venu 2 series.

if((Toybox has : SensorHistory) && (Toybox has : getHeartRateHistory)){

return Toybox.SensorHistory.getHeartRateHistory({});

}

In SDK simulator draw Graph but in real device no, I assume that may return null.

  1. What its the problem?
Parents
  • hi,

    I know it would sound "stupid" but ask to the user if he turned "on" the HR sensor (it happened to me a lot of time...)

    or sometimes reboot the device do the trick and if the Venu2 is brand new some users don't wait long enough before sending a bug report and don't have enough data to display a graph.

    Or you are right and there is an issue on Venu2

Comment
  • hi,

    I know it would sound "stupid" but ask to the user if he turned "on" the HR sensor (it happened to me a lot of time...)

    or sometimes reboot the device do the trick and if the Venu2 is brand new some users don't wait long enough before sending a bug report and don't have enough data to display a graph.

    Or you are right and there is an issue on Venu2

Children
No Data