Acknowledged
over 1 year ago

Watchface Crashes, but Sim and Preview are Working

Hi everyone,

I'm having an issue where my generated Watchface is crashing, but both SIM and the WatchfacePreview work like a charm.

Source Code (incl .prg) here:

https://github.com/r-neuschulz/HeartsDesire

Tested on Garmin Epix Pro 2 (Gen 2).

Steps to reproduce:

  1. Build the Project
  2. Load .prg file to Device
  3. Observe how the watchface defaults to a standard watchface, but the preview looks correct (like in the SIM).
Parents
  • hi,

    I've had a quick look and here:

    var oldestTime = sensorIter.getOldestSampleTime().value();
    var newestTime = sensorIter.getNewestSampleTime().value();

    you should null check:

    getNewestSampleTime() as Time.Moment or Null

    getOldestSampleTime() as Time.Moment or Null

     

    What you could try is to upload your project into the IQ store as Beta so that you will be able to have ERA on it and check where it fails.

Comment
  • hi,

    I've had a quick look and here:

    var oldestTime = sensorIter.getOldestSampleTime().value();
    var newestTime = sensorIter.getNewestSampleTime().value();

    you should null check:

    getNewestSampleTime() as Time.Moment or Null

    getOldestSampleTime() as Time.Moment or Null

     

    What you could try is to upload your project into the IQ store as Beta so that you will be able to have ERA on it and check where it fails.

Children
No Data