No Call for Live Activity to update

In widgets when the button is tapped, we will get a call back to perform() func in app Intent. After this perform func execution is completed, timelineProvider will be called. Likewise, what is the option to update the live activity value once perform() is called in appIntent? I tried to access the live activity instance from the extension into the app, but it is nil so, I can't able to update my live activity.

Replies

Hey did you find the solution , how to update ui live activity after perform is called from AppIntent.

  • To achieve this, you need to confirm the live activity target files for both the app and extension targets. Once you confirm, you can update your liveactivity in the perform method of appIntent. Your UI will be updated.

Add a Comment