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?

Generated on 7/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
Implement App Store Offers

Implement App Store Offers

Learn how to engage customers with App Store Offers using App Store Connect, as well as the latest StoreKit features and APIs. Discover how you can set up win-back offers (a new way to re-engage previous subscribers) and generate offer codes for Mac apps. And find out how to test offers in sandbox and Xcode to make sure they work smoothly.

Design App Intents for system experiences

Design App Intents for system experiences

App Intents power system experiences in controls, Spotlight, Siri, and more. Find out how to identify the functionality that’s best for App Intents, and how to use parameters to make these intents flexible. Learn how to use App Intents to allow people to take action outside your app, and see examples of when to navigate into your app to show contextual information.

Bring your app to Siri

Bring your app to Siri

Learn how to use App Intents to expose your app’s functionality to Siri. Understand which intents are already available for your use, and how to create custom intents to integrate actions from your app into the system. We’ll also cover what metadata to provide, making your entities searchable via Spotlight, annotating onscreen references, and much more.

Bring your app’s core features to users with App Intents

Bring your app’s core features to users with App Intents

Learn the principles of the App Intents framework, like intents, entities, and queries, and how you can harness them to expose your app’s most important functionality right where people need it most. Find out how to build deep integration between your app and the many system features built on top of App Intents, including Siri, controls and widgets, Apple Pencil, Shortcuts, the Action button, and more. Get tips on how to build your App Intents integrations efficiently to create the best experiences in every surface while still sharing code and core functionality.