Post

Replies

Boosts

Views

Activity

Making FetchRequest from CoreData in IntentHandler for WidgetKit
I am trying to create WidgetKit with IntentConfiguration, it works fine if I have a static hardcoded Objects it loads into the IntentHandler and allows the user choose the desired object from the list. But my issue when the user store specific objects as favorite for example in CoreData, I can fetch them in the App Fine, but when the intent handler does the request, it hangs with the spinning wheel from choose and nothing happens. I am not sure what is the best thing to do here, I am requesting only some keys, and I have my CoreData setup in a shared Swift Package, but whenever I try to access it from WidgetKit Extension or my IntentHandler it keep spinning and nothing else happens.
3
0
1.8k
Dec ’20