Devices: Forerunner 965 (29.06), Forerunner 265
SDK: Connect IQ 9.2.0Steps to reproduce (consistent):
- Start a Connect IQ watch app that records an activity with
ActivityRecording.Session.- Pause the activity (
session.stop(), session kept open).- Hold LIGHT to open the controls menu and select Stopwatch.
- Go to the watch face.
Result: The app crashes with the IQ! icon. Sometimes the watch freezes and has to be restarted.
Expected: The app exits cleanly, and the paused activity is saved or kept.
Observations:
- It also happens when the user leaves the paused app another way, for example to make a Garmin Pay payment and then return to the app.
- Logging to a file shows that the app's
onStop()runs to the end andsession.save()returnstrue. The crash happens after that, inside the system.- We ruled out our own code: we stopped timers, screen updates, network calls and storage writes, and turned off GPS before saving. It still crashes.
- Another third-party Connect IQ activity app (not ours) crashes with the same steps. The built-in Run activity does not crash.
- If the activity is still recording (not paused), the same steps show the system's stop-activity screen and nothing crashes. Only paused sessions are affected.
onActive/onInactiveandonStop/onStartwith suspend/resume never fire on these watches while the app is hidden behind the controls menu. Only the view'sonHide/onShoware called, so the app cannot tell that it has been suspended.- No
CIQ_LOG.YAMLorERR_LOG.txtis written to the watch.Log files from the app are available on request.