Recently every time I update one of my watchfaces, I get a lot of reports of weird errors. It seems like the old version of the face keeps running (confirmed when looking at version number on the face itself), while having the new config (properties/settings/resource) loaded (my guess). This is causing issue like broken fonts and crashes. A restart fixes everything usually.
As a simple solution it would be great to be able to restart the watchface after it receives an update.
I am using the "onAppUpdate" method in the appbase to send a message to the foreground, but then what?
System.exit() doesnt work on watchfaces
System.exitTo(intent) also doesn't work on watchfaces
Complications.exitTo opens the complication, but doesn't exit the watchface
I could make it crash when it received that message, but that doesn't seem like a great solution either.
A simple reinitialization of the whole watchface would be great, and I would expect this after an update, but it doesn't happen automatically.
Is there a way to achieve this?