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

How do I check if my app is resumed by a Siri shortcut

I am working with Siri shortcuts. I wanted to know if my app is launched from a Siri shortcut in the following cases: When the application is running in the background When the application is not running in the background For case 2, I can use the…
0
votes
0 answers

How to get the speakableGroupName from the INSendMessageIntent in SiriKit?

I am creating a Siri Intent Extension, and I want to allow support for users to send group chat messages through Siri (WhatsApp has this feature). However, whenever I ask Siri to send a message to a group chat through my extension, the…
0
votes
1 answer

iOS SiriKit: passing data between Intents 'resolve' and 'handle' methods

I am trying out the new iOS13 SiriKit Intents with Customizable Parameters. It's working fine ... I have multiple parameters, and the 'resolve' method is called for each of them, and then the 'confirm', and then the 'handle' as expected. But I'm…
Z S
  • 7,039
  • 12
  • 53
  • 105
0
votes
1 answer

How to return value back to Siri Shortcut when using NSUserActivity?

I'm defining an app function using NSUserActivity, so it appears in Spotlight and Siri Shortcuts: let activity = NSUserActivity(activityType: "com.myapp.siriTest") activity.title = "Test function" activity.userInfo = ["parameter" :…
passatgt
  • 4,234
  • 4
  • 40
  • 54
0
votes
2 answers

Siri Support: What are supported intent parameters for INPlayMediaIntent?

I created an iOS App Extension and defined a single entry INPlayMediaIntent in the extension's plist IntentsSupported array. Everything was fine. But since a few days (WWDC 2019) i have trouble submitting the app to TestFlight/App Store Connect. I…
MacMark
  • 6,239
  • 2
  • 36
  • 41
0
votes
1 answer

Can I change a value of variable by using Siri Shortcut?

I want to control my BLE Device with the help of Siri. Like "Fan On" or "Fan Off". So, Is that possible with the help of Siri Shortcuts? Or is there any alternative way to Contorl BLE Device Fan with Siri. I think if I am able to change a value of…
Mohammad Mugish
  • 335
  • 1
  • 3
  • 13
0
votes
1 answer

Virtual Assistents Development Comparison: Alexa vs Google Home vs Siri vs Cortana

I would love to hear some advice from someone who has programmed for Alexa and any other virtual assistant. I'm the only one in my team with experience with Alexa and just recently we have sold our first Alexa product. The client wants to know how…
0
votes
2 answers

How can I utilize Siri to create a custom object without donating intents or using shortcuts?

*Using Swift 4.2 & Xcode 10.2 I'm trying to make my application more feature-rich by allowing a user to create an object hands free. The app is designed to make the creation of certain object easier, so it would be great to allow a user to create a…
voo_doo_juju
  • 61
  • 1
  • 8
0
votes
1 answer

didSelectRowAtIndexPath at Intents UI Extension not being called

I have 3 Targets in my app, the main one, an Intents Extension and a Intents UI Extension. The "Intents UI Extension" target contains an Storyboard with a ViewController containing an UITableView. When I use the voice shortcut I can see results on…
brduca
  • 3,573
  • 2
  • 22
  • 30
0
votes
1 answer

How to validate user answer in a multiple choice question using Siri voice commands

I need to build a quiz type application using Siri. Here, let us consider, my application have only one question along with multiple choices as answers. Now with the Siri voice commands, I need to load that question along with choices onto the …
0
votes
1 answer

error: conditional compilation flags must be valid Swift identifiers (rather than '-sdk')

I'm trying to add the Intents Extension to my app (Xcode 10.1) that use Swift 4 and CocoaPods. After I added the Intents Extension and embedded into my target (I have a couple of targets), I tried to build and got the following error:…
ChavirA
  • 707
  • 8
  • 18
0
votes
1 answer

Append text in textview with speech recognizer SDK

I'm implementing voice to text using speech framework in my app. If there was already some text in the textview, how can I append it with speech recognizer? recognitionTask = speechRecognizer.recognitionTask(with: recognitionRequest,…
Neha Vipin
  • 688
  • 6
  • 17
0
votes
0 answers

Insert Own Siri Shortcut like Paytm

how to insert our own siri shortcut directly into app like Paytm or Whats App. As I want to create inbuilt siri shortcut like Paytm shown in image
Gonesh
  • 49
  • 6
0
votes
1 answer

can I have dynamic string for suggestedInvocationPhrase in Siri shortcuts?

I want to know can Siri suggestion can have suggestedInvocationPhrase dynamically ? As I say "order soup" I can show custom UI for that because I have already defined it in suggestedInvocationPhrase - DONE But when I say "Order soup with pizza"…
Dharani
  • 88
  • 15
0
votes
1 answer

Siri Shorcuts launches Application always

I have added Siri Shortcuts in my phone and whenever I call the shortcut in the Siri, it opens the iOS Application. It doesn't execute the intent which i have wrote. Following is my IntentHandler.swift import Intents class IntentHandler:…
Vittal Pai
  • 3,317
  • 25
  • 36