Why custom intent works without calling INPreferences.requestSiriAuthorization?

Hello.


I am developing iOS app with support of Siri Shortcuts (Intent extension). I have one custom Intent. I am able to record a phrase for Siri Shortcut without calling INPreferences.requestSiriAuthorization(). Also my Intent extension successfully handle intent from Siri even If I turn off Siri for app in app setting page.


What is INPreferences.requestSiriAuthorization() for?


Why Intent extension with custom intent works even when INPreferences.siriAuthorizationStatus is equal to .denied?

Accepted Reply

Siri authorization is required for the system intents, as some of those domains require telling Siri about the user's private data, such as a list of contacts in a messaging app.

Replies

Siri authorization is required for the system intents, as some of those domains require telling Siri about the user's private data, such as a list of contacts in a messaging app.

Thanks, edford. Can I safely remove INPreferences.requestSiriAuthorization() because I use custom intent?

That's fine, it's not required for a custom intent.