Post

Replies

Boosts

Views

Activity

Reply to Is there any way to expose an AppIntent that lives in the app package or an AppIntentExtension to a widget?
I'm also facing the same issue. I have AppIntents as they require access to my core data stack, network for syncing, notification scheduling, starting live activities etc. But I can't find any way to use an AppIntent from a WidgetExtension without having to add almost my entire apps code base to the WidgetExtension. This seems backwards, why create an AppIntent which runs in the Apps process if you have to put all the code into the WidgetExtension? I must be missing something, the docs make it sound easy to use them but lack details on how it should be setup.
Topic: App & System Services SubTopic: General Tags:
Jul ’23