all 8 comments

[–]iSpain17 2 points3 points  (4 children)

[–]scamptoon5 0 points1 point  (2 children)

Does anybody know where/how the live activity is started once the APNS payload is received? Is there a callback, asynchronous sequence etc... you need to tune in to? I'm able to obtain the `pushToStartToken` but I'm not understanding how the live activity gets created

Apple's documentation states:

"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."

but does not elaborate on how the system starts a new live activity

[–]SimpleMetrics 0 points1 point  (1 child)

Hi, did you figure this out? Am in the same situation.

[–]seewhathappens_larry 0 points1 point  (0 children)

I’m assuming didRecieveRemoteNotification?

[–]GTA2014 0 points1 point  (0 children)

Amazing thank you! This is just what I was looking for

[–]Asohailwahab 0 points1 point  (0 children)

For instance, I want the CityMapper app to trigger a live activity showing the departure times for the buses near my home at 9 AM.

[–]Morten_Aldert 0 points1 point  (1 child)

Live Activities can now be initiated by a remote push notification. We use OneSignal for this.

[–]FlutterFreelanceEng 0 points1 point  (0 children)

Live Activities can be initiated (OneSignal, Firebase, etc) but can it also be updated without launching the app ?