I don't have anything helpful to say here, but would like to say that I 100% agree with this. I would go so far to say that any of the features that result in Apple holding on to state for our apps should provide us a way of migrating that data as needed. Widgets and Shortcuts both result in Apple holding on to data for the user that is directly tied to our app's code, but is completely outside of our control. What this effectively means is that we either have to be locked in to choices made years ago despite the entire system changing around us or completely break things for our users and force them to fix it on their own.
We added widgets to our app back when they were new (2020) and widgets as a whole looked very different. They were iPhone only, only on Springboard, and only appeared in fully color. None of that is true anymore and I would make different decisions about what widgets we would provide, how they are organized, and how they are configured.
This might be the year that we do finally change everything, but it will come with a bad user experience because I can't do anything about their installed widgets. Those widgets will break or disappear completely and there is nothing I can do about that.
I would love something similar to what was added a year or two ago for migrating watch complications from ClockKit to WidgetKit. If I could provide some migration code to convert existing saved widget configuration to a new configuration, it would fix so many issues.
Topic:
App & System Services
SubTopic:
Widgets & Live Activities
Tags: