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
0 answers

Siri Shortcuts with CoreData

I created a simple SwiftUI app with Core Data and I want to be able to add data via the shortcuts app, I created a shortcut that takes some text as input and returns it in uppercase and when I run the shortcut in the shortcuts app, it works, however…
Jad
  • 66
  • 6
0
votes
1 answer

How can I compare INStartCallContactResolutionResult objects for unit testing?

I'm trying to unit test my Intent Handler class for INStartCallIntent, but I'm having trouble comparing the result objects for contact resolution. For example, given a basic handler for INStartCallIntent: import Intents class StartCallHandler:…
johnny
  • 1,434
  • 1
  • 15
  • 26
0
votes
1 answer

When running the IntentsExtension, how can I also debug the main app?

I'm trying to implement the StartCallIntent in my app. The intent first goes through the extension to resolve contacts, determine if the app can handle the intent, etc.. So far, I have the extension part working, and I'm able to debug it. However,…
johnny
  • 1,434
  • 1
  • 15
  • 26
0
votes
1 answer

Using a group icon with iOS 15 communication notifications

I have followed the instructions in this great Gist to get a INSendMessageIntent working to display the user's profile image on iOS 15. And it works great. However, I am unable to figure out how to get the image for a group message to be…
Wil Gieseler
  • 1,893
  • 1
  • 17
  • 18
0
votes
1 answer

How to choose image in App and show in Widget

I'm trying to find a suitable mechanism to provide an image from the app to the widget. So far I had success with AppGroups and a fixed identifier. Saved the image in user defaults with a fixed ID on the app side and I could retrieve it on the…
Nico S.
  • 3,056
  • 1
  • 30
  • 64
0
votes
1 answer

Can you resolve a Siri activity param in the main app?

I know it's possible to share code between the intents extension and the app, but what if the app itself needs to complete the validation of an activity param according to current context? Let's say an activity is successfully resolved with a param…
Germán
  • 4,525
  • 3
  • 31
  • 37
0
votes
1 answer

How to integrate Siri into Flutter with MethodChannels?

I want to integrate Sirikit into my flutter application. Therefore I have to establish a MethodChannel for communication between the host and the client. I want the iOS-side to invoke a flutter function and that response be Siris answer. This is the…
Phil
  • 321
  • 1
  • 17
0
votes
1 answer

WidgetKit not work for an Intent Handler to Provide Dynamic Values

I am trying to implement a widget where the user can choose a city dynamically via an intent. I followed the step by step guide provided by apple here: https://developer.apple.com/documentation/widgetkit/making-a-configurable-widget I think I have…
0
votes
1 answer

Can Siri Shortcuts handle dynamic phrases and variables

i want to know is it possible for user to say "balance in all cards" or "balance in home" or "balance in work" how can user acheave this with one sentence now user has to invoke siri siri with static phrase like "show my balance" then it askes for…
amin torabi
  • 281
  • 5
  • 8
0
votes
1 answer

Widget SiriKit intent enum value for index

I'm trying to add another SiriKit intent to my Widget to allow user to select a reddit category such as top, hot, new etc. I've set my enum in my custom intents. My question is how do I get the display name from the index? It's being assigned to a…
cole
  • 1,039
  • 1
  • 8
  • 35
0
votes
1 answer

"NO" answer in Siri Extension kills it

I did a Siri Extension for my app. In this extension I ask people questions and save their answers to the app. If the user answers "No" on some of my question the Siri Extensions stops the process. Siri kills my Extension. This question is "Would…
Oleksandr
  • 53
  • 5
0
votes
1 answer

Siri Intent request access token OAUTH token

I am integrating Custom Siri Shortcuts in my app, If the user execute that shortcut, I am making api call to find the results that SIRI can respond to the user. These are the workflows While making, api call we need to refresh the access token,…
Rama Krish
  • 373
  • 1
  • 13
0
votes
1 answer

Siri parameter resolved with NeedsValue is taking the user to the main app

I am working on an app that is incorporating Siri with custom intents and configurable & resolvable parameters, but I am seeing some unexpected behavior and wondering if anyone has seen this. When a parameter is resolved with “needsValue” in…
Andy
  • 126
  • 3
0
votes
1 answer

Can't make Siri Shortcuts work in macCatalyst app

I'm trying to port my iOS app to Mac using macCatalyst, and I'm having problem with Siri Shortcuts. The code complies and runs, but when I try to add shortcut using INUIAddVoiceShortcutViewController I'm seeing 'Shortcuts…
Cherpak Evgeny
  • 2,659
  • 22
  • 29
0
votes
1 answer

INUIAddVoiceShortcutButton doesn't work if Shortcuts App is deleted

I had added a INUIAddVoiceShortcutButton which works fine, but when I delete the Shortcuts App it stops working. The delegates still return that the shortcut was successful, but the button doesn't change to reflect that the shortcut was added. I…
Michael Ozeryansky
  • 7,204
  • 4
  • 49
  • 61