Transfer meta data from AppIntent to main app on `continueInForeground`

Hello!

I am excited to try out the new continueInForeground API with iOS 26.

I was wondering, what is the suggested way to transport meta data to the main app?

Before, with SiriKit intents I would use the .onContinueUserActivity() API and were able to pass a NSUserActivity from the Shortcut to the Main app.

Now, with the continueInForeground() call I am not sure – what would be your suggestion?

Of course, I can store some data in UserDefaults, but that feels like a workaround.

Happy to get some input on this!

Thanks a lot and have a great day!

Transfer meta data from AppIntent to main app on `continueInForeground`
 
 
Q