How to handle Push To Start Live Activity background run time

In iOS 17.2 we can start a live activity by push, and the document says:

When the system receives the ActivityKit push notification on a device, it starts a new Live Activity, wakes up your app, and grants it background run time to allow you to download assets that the Live Activity needs.

My problem is, in which callback can I be notified a live activity will be start by a push, so I can download some web contents such as images before the live activity be rendered.

Replies

I have the same question and have posted about this in https://forums.developer.apple.com/forums/thread/741939?page=1. Apple's documentation is a bit unclear about how the app is notified that a live activity is being created from push notification. Any further explanation will be very helpful.

  • Update - My APNS payload WAS being delivered successfully however, there were discrepancies resulting in decoding error. Once those were resolved, I see the live activity being created

Add a Comment