Posts

Post not yet marked as solved
0 Replies
267 Views
Other than the voice prompt, is it possible to show custom user interface in parameter query?The documentation says it can only be shown at the final stage when the user request is fulfilled.https://developer.apple.com/documentation/sirikit/custom_uiThe soup chef example only shows how parameters can be fulfilled with the default prompts and ways, but not custom UI. Any example code will be highly useful if this is possible in iOS 13.1
Posted Last updated
.
Post not yet marked as solved
1 Replies
474 Views
Hi everyone,I have created a small sample project to create a chat flow with Siri.The Siri Shortcut is created to show random colour and to ask for one new parameter called "parameter".Inside the default Shortcut app, it works fine and I am able to trigger the parameter entry with the following code continuously. func resolveParameter(for intent: ShowRandomColorIntent, with completion: @escaping (INStringResolutionResult) -> Void) { completion(INStringResolutionResult.needsValue()) return }I have configured the Siri Shortcut to use the phrase "Show Random Color". After I trigger it, I am prompted directly to the Shortcut app to enter the parameter.Siri doesn't know how to ask the prompt dialog question in order to resolve the parameter.I have tried multiple attempts and the result is the same. Any idea how to trigger Siri to talk instead of jumping to the shortcut app?--Cameron
Posted Last updated
.