Live Activity gets disabled and shows loading indicator

Hey, we are currently implementing our iOS Live Activity via push notification updates.

Sometimes, when the activity finishes (push sends "end" event), it happens that the activity freezes in some disabled/loading state. It gets dimmed and shows a loading indicator on top (which does not come from our UI).

I suspect that some process gets stuck when updating, but we are not doing anything else when the activity gets finished.

Does anyone know in which situation this could happen? I could not find anything about it in the documentation.

More background info:

  • We are not using stale-dates
  • iOS 16.2

Thanks in advance.

Ok I finally figured out when this happens. In our content state struct init(from decoder) we have some parsing logic which could throw if data is missing or invalid. When the init throws for some contentState update, it will lead to the "disabled" state of the activity. After this, the activity will not respond anymore and will also not react on future updates. Conclusion: The backend needs to make sure to send all fields in the proper format with every update.

Live Activity gets disabled and shows loading indicator
 
 
Q