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
9
votes
3 answers

Siri Intent Donation for Shortcuts ending up with error

I have created a simple intent for Siri shortcut and whenever i am trying to donate the intent, it is ending up with following error. Interaction donation failed: %@ Error Domain=IntentsErrorDomain Code=1901 "Cannot donate interaction { …
Vittal Pai
  • 3,317
  • 25
  • 36
9
votes
1 answer

speech framework integration showing error

Am trying to convert the speech to text and display it in UILabel using speech framework. I've authorized the user to allow use microphone. Here's my code - (void)startRecording { if (_recognitionTask != nil) { [_recognitionTask…
user7372676
8
votes
1 answer

TouchID authentication inside Siri Intent Extension

I have an Intent Extension with the View category that is working pretty good for showing an app info. Now I need to enable TouchID for security reasons, so the user needs to authenticate before requesting the info. I tried this: func handle(intent:…
alxlives
  • 5,084
  • 4
  • 28
  • 50
8
votes
1 answer

Is it possible to have a Siri shortcut with a variable parameter?

There are a dozen related actions that users of my app can perform, and I'd like to let them do it with Siri, but I'm unsure how to effectively do that. I know I can donate a INIntent when a user performs an action, but is it possible to donate an…
se_puede_dev
  • 585
  • 7
  • 16
8
votes
0 answers

Sending a message using SiriKit

I already have a messaging app, and I would like to implement Siri to send a message. I have added the Intents extension and everything, I am just having problems figuring out how to send the message. I have tried to use the same function for…
Jaqueline
  • 465
  • 2
  • 8
  • 25
8
votes
1 answer

Siri is not working in existing project

I have to initiate a voip call through my app using Siri. It is working in demo project but when I am adding the Intents Extension into my existing project then Siri is not working anymore. In system settings the my app is not showing in App…
makboney
  • 1,808
  • 1
  • 17
  • 34
8
votes
2 answers

SiriKit crashes: "Use of the class from an app requires the entitlement com.apple.developer.siri."

We have been receiving crash reports say that "Use of the class INPreferences from an app requires the entitlement com.apple.developer.siri. Did you enable the Siri capability in your Xcode project?". But We have absolutely enabled the Siri…
pikachu
  • 119
  • 10
8
votes
2 answers

Launch app from INExtension in SiriKit

I want to use SiriKit to start a workout. Starting the workout requires opening the main app from the app extension. The boilerplate that Apple provides for the INStartWorkoutIntentHandling handler is func handle(startWorkout startWorkoutIntent:…
Tyler Sheaffer
  • 1,953
  • 1
  • 16
  • 16
7
votes
1 answer

Does SFSpeechRecognizer have a limit if supportsOnDeviceRecognition is true and offline mode is available?

According to the Apple documents, there is a limit to the number of requests that SFSpeechRecognizer can send. Be prepared to handle failures caused by speech recognition limits. Because speech recognition is a network-based service, limits are…
amone
  • 3,712
  • 10
  • 36
  • 53
7
votes
1 answer

Specify "Ask Each Time" as default for a parameter in Siri intent

When displaying an instance of INUIAddVoiceShortcutViewController, I want to let one of the shortcut's intent's parameters (of type Decimal) default to Ask Each Time. Right now, it defaults to the Default Value value in the .intentdefinition file.…
Naftali Beder
  • 1,066
  • 1
  • 10
  • 27
7
votes
1 answer

How can I tell if my intent is running in the Shortcuts app?

In my app I have created a SiriKit intent that allows the user to search for people. If they trigger this intent directly from Siri then I would like to open my app with this search string and show the results - I can do this by passing…
Paulw11
  • 108,386
  • 14
  • 159
  • 186
7
votes
2 answers

Siri Shortcuts: How do I create a UI for the intent parameters of an iOS shortcut?

I'm trying to create an INIntent to be set up with the new iOS Shortcuts app in iOS 12. I have read the documentation and watched the apple video about it. I have managed to set everything up and the shortcuts work well, however I can’t seem to…
Anton
  • 978
  • 8
  • 16
7
votes
1 answer

Custom Intent for Medical domain application

With release of iOS 10, SiriKit available for developers to make applications Siri enabled.But from SiriKit Documentation, it looks like SiriKit supports for specific domain apps. Currently Apple suggest following domains : VoIP calling…
technerd
  • 14,144
  • 10
  • 61
  • 92
6
votes
3 answers

Internationalisation issue with Sirikit Custom Intents & iOS 13.4.1

I implemented two Custom Intents with Sirikit in my iOS app. When I was developing them I had iOS 13.3 installed in my iphone and one of my intents has a Siri Dialog prompt asking for the value of one parameter. All the app is translated to english…
Diego Navarro
  • 9,316
  • 3
  • 26
  • 33
6
votes
4 answers

My app does not find sirikit intentdefinition classes in xcode 11.4

My app has had support for a couple of siri shortcuts since it came out, haven't touched it in a long time. My project compiles and builds in 11.3.2 but doesn't in 11.4. The errors i get is that the classes that are supposed to be generated from my…
Mathias
  • 3,879
  • 5
  • 36
  • 48
1
2
3
27 28