Acknowledged

onUpdate() event occurs once in Glances for fenix 6 (may be other devices).

Hello,

On fenix 6 device there are Glances and widget with pressure sensor access does not show info. Fenix 7x device is ok.

When you enter the widget on any device from Glances mode it displays values normally.

App is:

https://apps.garmin.com/en-US/apps/00678298-6672-4228-9c82-c9aa00e43df0

Expected: in Glances mode widget has onUpdate() event on fenix 6 device. sw 22.10 after each        Ui.requestUpdate();      call.

Event appears in timer, so update requested often.

The same bug exists in simulator for Descent G1.


Please verify it..

Simulator behaves the same: fenix 6 (non pro version) does not access to sensor, but fenix 7x in Glances mode displays all ok.

SDK 4.1.4 used. Eclipse Plugin 4.1.2.

Parents
  • What you're dealing with sounds like the live update for glances.

    on the non pro f6, it's "liveUpdates": false

    while on the f7x, it's true.

    When false, WatchUi.requestUpdate is ignored.

    See https://developer.garmin.com/connect-iq/core-topics/glances/#glances

    Glance Lifecycle

    Depending on a device’s resource limitations, GlanceView can be updated in two different ways.

    Live UI Update

    Devices that have ample resources [1] will start the Widget in Glance mode, and keep it alive. The provided GlanceView will be updated as needed by the system, and calls to WatchUi.requestUpdate() will trigger a View update as expected.

    Note: It’s highly recommended that the update rate should be kept under 1HZ to provide a better scrolling experience.

    Background UI Update

    Devices that have less memory [2] will start the app only when the system deems it appropriate, and calls to WatchUi.requestUpdate() will have no effect. Such a device could update their glance view when it becomes visible (activated) and at least 30 seconds since last update.

Comment
  • What you're dealing with sounds like the live update for glances.

    on the non pro f6, it's "liveUpdates": false

    while on the f7x, it's true.

    When false, WatchUi.requestUpdate is ignored.

    See https://developer.garmin.com/connect-iq/core-topics/glances/#glances

    Glance Lifecycle

    Depending on a device’s resource limitations, GlanceView can be updated in two different ways.

    Live UI Update

    Devices that have ample resources [1] will start the Widget in Glance mode, and keep it alive. The provided GlanceView will be updated as needed by the system, and calls to WatchUi.requestUpdate() will trigger a View update as expected.

    Note: It’s highly recommended that the update rate should be kept under 1HZ to provide a better scrolling experience.

    Background UI Update

    Devices that have less memory [2] will start the app only when the system deems it appropriate, and calls to WatchUi.requestUpdate() will have no effect. Such a device could update their glance view when it becomes visible (activated) and at least 30 seconds since last update.

Children
  • Current SDK 7.1.1 device list:

    MARQ Collection (gen 1)
    fenix 6s/6 (non-Pro versions)
    Instinct 2 series
    Instinct Crossover
    Forerunner 55
    Enduro
    Descent G1
    Forerunner 245

    Interestingly, the Forerunner 955 now has “true” so that has been fixed. Last chance for MARQ and fenix 6/Enduro could be introduced with v27 firmware, still hoping for changes.

  • That's it.

    I would agree to delete the apps for instinct 2, fenix 6 and 245, descent g1, forerunner 45... but the MARQ and Forerunner 955 has the liveUpdate false. Weird.