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 found a better solution for interaction Live Activity. You can create a struct impletion LiveActivityIntent then add it to widget target and app target. Create two files, one add to widget target, other one add to app target, each extension your Intent and write one same function. Widget target function can empty, app target function is real code. In perform call your function in extensions file. Above steps make sure compile success and when interaction intent, System will execute your real code in App Process.
Aug ’23