Watchface crashes on Fenix3 and wipes out all ConnectIQ apps

I experienced weird behavior on Fenix3 ConnectIQ runtime. My watchface works well on FR920XT. Now I made it compatible with Fenix by checking a resolution of the display and choosing another graphics implementation class (differences are only in graphic object offsets, nothing special). Codebase is the same for 920 and Fenix. It works on my 920XT as well as in simulator for Fenix3. But when it's copied to the real Fenix3 it causes crash and wipes out all another Connect IQ applications from device.

Has anybody else met this?

Thanks
  • I made a new build without shared codebase. Now, it's just for Fenix3. Can somebody with Fenix3 do a quick test, please? Unfortunately, I don't have F3, just 920XT.

    Here is the PRG file. http://ge.tt/8og1L3D2/v/0?c

    Thanx..
  • FYI, you should be able to leverage the layout system to support different devices.

    Travis
  • Of course, but sometimes you want to use different code, and how to use different implementations for different devices?
  • I saw a crash like this when I used phoneConnected (for BT status) on a vivoactive that didn't have the proper firmware for that call.
  • Yes, I know about that and I'm checking it with HAS operator. There must be something weird in the Fenix CIQ runtime.
  • Former Member
    Former Member over 10 years ago
    I had similar experience, but with the SkyWatch app crashing the entire ConnectIQ stack. SkyWatch would crash and afterwards my custom watch face would revert to the default one and the sunset widget would no longer work either. Sometimes the watch would just reboot other times it would just bork up ConnectIQ.

    Kind of concerning that one bad program can bring down the entire stack.
  • Really weird. Moreover, my watchface on F3 break down complete CIQ stack and delete all .prg files from APPS directory..
  • @Koulik If I recall, you're using a Mac, correct?

    The apps disappearing is related to the attribute files, the hidden '._' files that the Mac uses, in the file system. We discovered yesterday that the fenix will kick off any side-loaded PRGs that have any associated attribute files, so the solution in the short term is to run the following command to remove the attributes before disconnecting the device:

    xattr -c *.prg

    We're looking into the issue further and will provide a fix in a future firmware release.

    I'll give your app a test and let you know what I find.
  • I tested on fenix 3 firmware v 3.01 (this is an internal release that has not yet been made public), and I'm not seeing any crash with your watch face. SkyWatch was also crashing on 3.00, but there was a fix included in 3.01 that addressed the SkyWatch crash and has presumably also addressed the crash with your watch face.

    I believe that 3.01 is going to be released soon (perhaps as 3.10?), so I'd recommend keeping an eye out for a fenix 3 firmware update, and then give your watch face another test.
  • Former Member
    Former Member over 10 years ago
    Sweet! Thanks Brandon for the update!