intent donation is performed with INInteraction. Its API only supports INIntent as argument. What is the new API to implement intent donation that can be used with app intents?

Asked on 07/31/2024

1 search

The new API to implement intent donation that can be used with app intents is the AppIntent framework. This framework allows you to integrate your app with Siri, shortcuts, Spotlight, and more, providing a more flexible and powerful way to create app intents compared to the previous INInteraction API.

For more details on how to design and structure your app intents, you can refer to the session Design App Intents for system experiences starting at the chapter "Which App Intents to make".

Here are the relevant sessions mentioned in the context:

  1. Design App Intents for system experiences
  2. Bring your app’s core features to users with App Intents
  3. Bring your app to Siri