Description
When a Connect IQ app fails to update, an additional copy of the app is created on the watch.
It seems that this can happen an indefinite number of times, and that storage space would never be reclaimed. Perhaps more seriously, it could confuse troubleshooting efforts between a developer and an end user, especially after a subsequent successful update, when two or more identical copies of the app could be present in the filesystem.
Environment
iOS 12.0.1
Garmin Connect Mobile 4.12.0.14
Recreation Procedure
- Install Connect IQ widget on to watch. (Let's call this version "1.0")
- Publish new version to the store. (Say, version "1.1")
- Launch widget
- While widget is still in the foreground, attempt to update widget with GCM. This will fail silently (although GCM will correctly reflect that an update is still available for that widget)
- Exit widget
- Update widget with GCM, which should now be successful
- Connect watch to PC with USB
- Examine \GARMIN\APPS\ on watch. You will see that the two last modified files are two identical copies of the widget (v1.1)
I didn't check, but I suspect that if I had looked before successfully updating the widget, I would've seen files for both v1.0 and v1.1 on the watch, although I believe v1.0 would still be installed instead of 1.1.