Passcode behaviour for ConnectIQ Apps

Hi,

When the Passcode option is active ("On" option) CIQ apps appear to be shutdown when the "lock" is activated. Does anyone have any experience with handling this in a CIQ app / what is the expected behaviour?

Also, is there a way to simulate the activation of the passcode for debugging purposes?

Thank you.

  • Updating with my findings so far with watch FR265 / FW 28.05

    When the Passcode is activated by 'off-wrist' detection (I assume), my CIQ app is shutdown - onStop is called with a null or empty state parameter. Next a system menu appears 'save/resume/discard' or sometimes there is a crash (with no logs that I can find). If there is a crash then the VM crashes and a restart of the watch is required.

    Save - the activity is saved with 2 'stop' Activities and 2 Session rows.

    Resume - nothing happens

    Discard - activity is discarded

    I have also tried saving the activity in the call to onStop and my developer FIT fields are added but still see 2 'stop' Activities and 2 Session rows.