Hi all,
I developed watch face called Hiker's Watch. The idea is to display recent elevation history in the background:
https://apps.garmin.com/en-US/apps/7f4bdd74-f45a-48ed-9aa1-4b3269534828
However, it turns out for some devices it does not work well. Instead of displaying altitude history, it shows a horizontal line only. It is not an issue of the application, because the same version of the app works on some devices while it doesn't on others. I am using the Toybox.Position.Info.altitude attribute to read current elevation.
The watch face does have all the necessary permissions activated (Positioning and Sensor History for question 3) below).
Questions:
1) Is there a way how to activate the elevation field updates? On my garmin fenix3, it generally works, but there were a few ocassion when it froze and displayed constant altitude (i.e. horizontal line only). To me it happens like once a year, but some users reported this behavior just after installing the watch face.
2) How does the altitude attribute behave for watches without a barometer? I tested it successfully on fenix3 and fenix5, but I am now trying it on vivoactive4 and it displays horizontal line only. It seems that it simply shows altitude from the last GPS location update.
3) Can this be resolved by sensor history (Toybox.SensorHistory)? How often get these values updated? I displayed the recent three values from elevation history, it seems that it adds a record into sensor history every minute, but the altitude is always null. Any hints or documentation on how this works?
I will appreciate your hints. The watch face does work for me, but some of my friends are experiencing the described issues and I would like to make it work them as well.
Adam