Hi there
I'm completely new to this and I'm trying to make my own watchface for a Fenix 3 HR, where I'm trying to show the current HeartRate.
The compiler doesn't like the line of code below.
var sensorHist = Toybox.SensorHistory.getHeartRateHistory({});
It gives the errormessage: "Could not find symbol SensorHistory"
As far as I can see in the documentation the SensorHistory is only supported from SDK version 2.1.0 an onwards, and I guess that is where the problem is.
I'm a bit confused, In the manifest file I have tried to set the App minimum SDK version to 1.3.X and then I can set the build target to fenix 3 HR, but then I guess I can't use the SensorHistory.
If I instead try to set the App minimum SDK version to 2.1.X or 2.2.X then I can not set the build target to fenix 3 HR, most of the watches is greyed out.
I have also enabled the permissons for Sensor History.
Any help is greatly appriciated here.
Thanks a lot
Br Kenth