Questions tagged [sirikit]

SiriKit is an API exposed by Apple for integrating developer applications with Siri. Use this tag only for questions related to the new Siri APIs in macOS Sierra and iOS 10.

SiriKit related links and guides:

411 questions
0
votes
1 answer

Do INIntent subclasses really require iOS 12?

When creating an Intents.intentdefinition file, the generated Intent subclass source defines the class as: @available(iOS 12.0, macOS 10.16, watchOS 5.0, *) @available(tvOS, unavailable) @objc(OrderSoupIntent) public class OrderSoupIntent: INIntent…
Michael Ozeryansky
  • 7,204
  • 4
  • 49
  • 61
0
votes
1 answer

Can I add SiriKit support to my app without a paid Apple Developer Program membership?

I'm learning iOS app development, and I want to add sirikit support to my app? Is there any way I can do it without a paid Apple Developer Program membership? I set Siri to YES in the .entitlements file, but I can only run my app on a simulator, not…
PerfectFiasco
  • 127
  • 2
  • 7
0
votes
1 answer

Basic steps to add Siri functionality to radio app

I would like to be able to tell Siri "Hey Siri, play [app name]" for my radio app, and have it play a default station. What are the basic steps to achieve this? I'm not really looking for a Siri Shortcut per se, but built in "play" functionality. Is…
atdonsm
  • 265
  • 4
  • 11
0
votes
1 answer

INPlayMediaIntent ignores terms like 'music' and 'radio'

I'm working on a media app, and I'd like to improve its Siri interactions. I've implemented an Intents extension, with "radio" as the media category, and I'm refining the resolveMediaItems method. Typically if I tell Siri Play in…
c_booth
  • 2,185
  • 1
  • 13
  • 22
0
votes
2 answers

Is Siri Kit present for mac os apps?

All the docs for Siri Kit refer to watchos and ios apps. Is it supported for mac os app development? Additionally one of the first things to do for siri is to add the capability to your app. Unfortunately for mac os app I could not find any such…
0
votes
1 answer

Siri adds a dot in front of app name in Siri response

I made a Custom SiriKit intent and everything works fine in English but when I run the intent in another language the Siri responds like: .App Name dice: "Resultado en español" Same execution in English: App Name says: "Result in English" Notice…
Diego Navarro
  • 9,316
  • 3
  • 26
  • 33
0
votes
1 answer

In Xcode 11.4/iOS 13.4 I'm finding that NSUserActivity doesn't always respond to setSuggestedInvocationPhrase

I have a project that used to successfully create and update NSUserActivity objects to provide Siri shortcuts and Handoff. I returned to this code for the first time in a while today and was a little surprised to find that if I have a debug build on…
Timothy Sanders
  • 206
  • 3
  • 7
0
votes
0 answers

How to know if your app was enabled by Hey Siri or OK Google?

I want my app to basically know when the user spoke to the device and switched to my app (or launched it). Something like: “Hey Siri, ” Or “OK Google, ” That’s it. From there, my app would automatically emit a prompting sound and enable the…
Gregory Magarshak
  • 1,883
  • 2
  • 25
  • 35
0
votes
1 answer

SiriShortcuts doesn't ask for Boolean parameters

I'm implementing SiriKit for my app, which is basically an alarm clock. I want the conversation to go something like this: Hey, Siri, open 1337AlarmClock -Would you like to set an alarm? Yes -What time? 3 A.M -Alarm has been set for 3 A.M My first…
ClockWise
  • 1,509
  • 15
  • 32
0
votes
1 answer

SiriKit Intents Extension: Avoid / auto resolve parameter when values are provided dynamically

I am building an app that uses Intents Extension to track various metrics, like weight, steps, hearth rate, etc. I want to offer to the user units of measurement to pick from, based on the metric he wants to track. For example, if the user tracks…
mawus
  • 1,178
  • 1
  • 11
  • 25
0
votes
0 answers

INActivateCarSignalIntent SiriKit audible/visual intent confusion

In SiriKit there is INActivateCarSignalIntent which allows you to recognize when a user asks for an "audible" or "visual" signal. For example if you say "Honk my car’s horn." INCarSignalOptions.audible will be passed to your handler. If you say…
jaju
  • 1
  • 2
0
votes
1 answer

Can Siri custom intents display custom UI for every input parameter?

From the below description from Apple's documentation https://developer.apple.com/documentation/sirikit/creating_an_intents_ui_extension/configuring_the_view_controller_for_your_custom_interface Although SiriKit often passes only one parameter at a…
Vivek Mohan
  • 8,078
  • 8
  • 31
  • 49
0
votes
0 answers

Siri shortcut run command

So i have Intents working to a point. As in I mean siri repsonse with Done or Ok. When I ask Siri the following command List item : "Hey siri Play DRN1" Siri Response is DONE. (when it should be Opening now) But the app does nothing. Now I have…
RussellHarrower
  • 6,470
  • 21
  • 102
  • 204
0
votes
1 answer

Xcode 11 use Framework in AppExtension

I want to create an app with multiple SiriKit-Intents. Some of those need a 3rd party framework which, sadly, I cannot install using spm so I did it quick and dirty and downloaded the latest release and manually imported it into Xcode. And…
0
votes
1 answer

How to customise SiriKit intent extension for shortcuts app to ask allow access?

We are allowed to build custom intent for Siri, by extending SiriKit. Moreover, Apples present how to manage basic integrations and customizations to Siri Shortcuts and Shortcuts app Link for shortcuts app Nonetheless, some apps have their own…