Post

Replies

Boosts

Views

Activity

Advice for AppSupport to AppGroup migration before publishing
Hi all In pursuit of adopting widgets in my application, I have transitioned from AppSupport to AppGroup as storage location for Core Data. I have done a migration process/flow that goes as follows and which have been tested multiple times although I have yet to publish the update: Check if migration has taken place or not 1a. if yes continue to app 1b. If no continue flow Begin migration process 2a. Backup original store in AppSupport 2b. Migrate store to AppGroup 2c. Migrate userdefaults to AppGroup 2d. Update userdefaults with true for both hasMigratedToAppGroup and hasMigratedUserDefaultsToAppGroup Is there any tips or stuff to look for that hasn’t been taken in to account? How have you done it previously, and what would be recommended? Also, is there some specific tests to run/over many times get a baseline of how many is succeeding or failing? Thanks in advance.
4
0
731
Feb ’24
ConfigurationIntent dosen’t load dynamic objects - stuck at loading indicator - iOS 14.2
Hello everyone I have been working on configurable widgets by following some tutorials as it’s my first time working with widget configurations and intents. For some odd reason beyond my understanding, the widget configuration gets stuck with a loading indicator whenver “Choose goal” is pressed in the earlier mentioned view and when clicking again it shows an empty list, as shown in the following video (It seems certain URL's are not allowed - this is my first post on Apple forums, and as the video is crucial for demonstration purposes I hope that the mods makes an exception - otherwise delete it): streamable.com/nprisr I have attached the following three files being the IntentHandler, WidgetProvider and WidgetEntryModel in the following gist: https://gist.github.com/lgv2800/b1e16fbc3774c430aab3b3954d394068 Resources used https://developer.apple.com/documentation/widgetkit/making-a-configurable-widget Goal to achieve Make the widget configuration view show a list of all goals instead of being stuck with a loading indicator. Thanks in advance.
1
0
1k
Dec ’20