I am developing an app for Garmin vivoactive 4/4s/venu/fenix etc series that support PulseOx.
I was trying to implement the SensorHistory module to get the oxygen saturation history for the given period of time. On debugging in the simulator it works fine and returns correct numbers like 95-100%, but when I test it on a real device (in my case that is vivoactive 4) it always returns 0.
Can you please tell me why that is happening and how can I solve that?
Also, I found a similar issue on the developer forum. Here is a link: https://forums.garmin.com/developer/connect-iq/f/discussion/245288/possible-getoxygensaturationhistory-bug?ReplySortBy=CreatedDate&ReplySortOrder=Ascending. But there is no answer.