sdk 4.0.5
eclipse plug in 4.0.4
eclipse Version: 2021-06 (4.20.0) Build id: 20210612-2011
windows 10
watch face
minSdkVersion 2.4.0
phone
fenix 5 plus X
Ciq version:3.2.5
Softwareversion:15.40
code:
using Toybox.Activity as ACT;
var _ActivityInfo = ACT.getActivityInfo();
if(_ActivityInfo != null)
{
gLastHR = _ActivityInfo.currentHeartRate;
if(_ActivityInfo has :currentOxygenSaturation)
{
gLastO2 = _ActivityInfo.currentOxygenSaturation;
}
}
//gLastHR not null
//gLastO2 always null
User sent me screen from built in SpO2 widget and you can see values.
Of course this code run well for example on my fenix 6.