muting SIRI via AppIntents

We're using App Intents to launch are control our app via Siri. Siri's responses have been fairly random, some with a "Done" popup, others with a verbal confirmation, others saying "I'm sorry, there's been a problem". The latter is bogus and doesn't look good to potential investors when the app is actually working fine.

There appears to be no way in code that I've been able to find so far that would have been tell Siri to STFU. Let us handle our own errors.

Otherwise is there a means to supply Siri with a dictionary of restored messages that could be triggered inside the app?

We're using App Intents to launch are control our app via Siri. Siri's responses have been fairly random, some with a "Done" popup, others with a verbal confirmation

The way Siri handles responses depends on the context of the user, and how the action was invoked. Sometimes results can be delivered on screen (such as with the Done button), but sometimes the user is in a voice-only context, so Siri speaks the results. There is a section in the Human Interface Guidelines about this. On the API side of things, that's why IntentDialog has full and supporting parameters, so that the dialog you provide as part of your intent has variations that the system can use to adapt to those different user context.

others saying "I'm sorry, there's been a problem". The latter is bogus and doesn't look good to potential investors when the app is actually working fine.

It sounds like you've done your own verification that your intent performed the action you expected, but here are some things you should verify that aren't happening in your app to cause that experience:

Verify that your intent extension launches and runs to completion quickly.

For example, if your intent has complex interactions with concurrent code, networking, or async-await patterns, it's possible that some of your intent code ran to give you a result, but the entire intent didn't run to completion and return from the perform method. If you don't return from perform in a reasonable time, the system may assume your code is non-responsive and lets the user know that status to keep the user informed of what happened to their request.

Verify that your app or app extension didn't crash.

Similar to the above, where if your app made progress on an intent, but then crashed, the system will let the user know that status. You should look for crash reports on the device for your process running your intents code to verify this isn't happening to you.

If you've verified those aren't happening, but you're still receiving the error message from Siri, please open a bug report, and make sure to include a sysdiagnose. If you do need to file a bug report, please post the FB number here.

— Ed Ford,  DTS Engineer

muting SIRI via AppIntents
 
 
Q