Siri shortcuts - response templates

I'm trying to develop a simple app to test a verbal response to a Siri intent-based shortcut, to no avail.


My intent is of type Request (though I've tried others), and requires no confirmation.


Logging in my IntentHandler shows that the confirm() method gets called - twice actually - and the handle() method gets called as well.


But Siri provides me only with OK, requested - verbally, and in text - followed by the very basic Siri-provided UI with the app icon, shortcut title and subtitle, along with a checkmark icon below it. I do not get the desired response, for which I provided a template in the Intents.intentdefinition file and passed a parameter into the template in the handle() method.


If I have handle() provide a failure response, then that response text is read by Siri, but it's sandwiched as follows:


Something went wrong. SiriTest says, "<my response text>" You can continue in the app.


I am not using an Intent UI - I'm simply trying to construct the most minimal app to reply with a parameterized string.


Is this something that should be working in the most recent beta? (Xcode 10.0 beta 5 10L221o)

Replies

FYI, I just ran this on hardware with iOS 12 beta 6, and there's improvement in that release (versus the beta 5 simulator in the latest Xcode).


I now get OK, requested. SiriKit says: "<my parameterized response text>"