Questions tagged [intents-extension]
27 questions
14
votes
4 answers
How do I debug my Siri (Intents) extension?
I'm building a Siri aka Intents extension.
I do understand that I can attach the debugger to a running process after start, however, I never see my process. I do have the authorization for my app set to active and the extension must be running at…

dogsgod
- 6,267
- 6
- 25
- 53
10
votes
3 answers
Create custom CLPlacemark for RideIntent
I'm trying to create a custom CLPlacemark using the Intents framework.
I'm importing 'Intents' at files beginning.
I found this solution:
let waypointLocation = CLLocation(latitude: 50.00, longitude: 8.00)
let waypointName = "Some Name"
let w1 =…

Dennis
- 362
- 4
- 13
6
votes
2 answers
How do I refresh my SwiftUI view when my core data store has been updated from a background extension?
I have a SwiftUI app with an intents extension target. I also have a core data store located on a shared app group.
The intents extension can successfully write data to the store using newBackgroundContext() in the Shortcuts app. My SwiftUI app can…

mralexhay
- 1,164
- 1
- 10
- 16
6
votes
2 answers
iOS 10 Siri support for Workouts with custom vocabulary
In my app I'd like to be able to tell Siri something like:
So I enabled the Siri capability, added a target, implemented the INStartWorkoutIntentHandling (and also the other) delegate methods and everything works.
I can now say Start a workout with…

Georg
- 3,664
- 3
- 34
- 75
6
votes
2 answers
SiriKit payment confirmation currency is always US$
I build Intents Extension and I'm handling INSendMoneyIntent and I'm saying:
Send 25€ to John Smith
response after app confrimation
Here's your payment for US$25.00. Do you want to send it?
Intent contains proper currency iso 3 code -…

user3292998
- 209
- 1
- 8
5
votes
1 answer
SiriKit: shortcut defined in IntentsDefinition file not showing up in the Shortcuts app on macOS?
I haven't been able to add some basic SiriKit actions to my macOS app in macOS Monterey. To test this out, I created a new project, made it a macOS app with Storyboard. Then I added an intents definition file, and added a basic intent, with no…

Z S
- 7,039
- 12
- 53
- 105
5
votes
1 answer
Siri Shortcuts: How to require unlocking the phone
Siri Intent: Is it possible to require that the user to unlock the iPhone before the execution take place? I don't want the Intent to cause the corresponding iOS app to be launched.
If I uncheck the "Supports background execution" box (shown…

RawMean
- 8,374
- 6
- 55
- 82
5
votes
1 answer
.continueInApp option for IntentResponse is not opening app IOS 12 Beta 6
I am handling a custom intent action like this:
internal func handle(intent: UsageIntent, completion: @escaping (UsageIntentResponse) -> Void) {
completion(UsageIntentResponse(code: .continueInApp, userActivity: nil))
}
It used to open the app,…

Pato Salazar
- 1,447
- 12
- 21
4
votes
1 answer
iOS App Intents UI Extension calling configureView multiple times and displaying my view multiple times
I am using the IntentsExtension and IntentsUIExtension for a messaging app to allow a user to send messages using Siri.
It all works and the message is sent once, however when the extension UI is displayed, the view I define in configureView is…

alionthego
- 8,508
- 9
- 52
- 125
4
votes
0 answers
How to reload fetch data from coredata in Intent Handler when host App close?
I'm currently developing an application using SwiftUI.
I want to reload data from CoreData in IntentHandler to update newer data every when I close a host App.
In the case of Widget, we can use WidgetCenter.shared.reloadAllTimelines() to update, but…

Tio
- 944
- 3
- 15
- 35
3
votes
3 answers
Custom Intent Handler Not Called - iOS claims IntentHandlerMethodForIntent not Implemented
The IntentHandler in my objective-C implementation of a custom intent fails to receive a call from a voice activated shortcut. When using Siri to invoke the donated interaction, I have observed that I receive the following errors in the Console app…

JeffB6688
- 3,782
- 5
- 38
- 58
3
votes
1 answer
SiriKit: How to set output property when intent is handled in the main app?
Context
I'm working on adding support for Siri Shortcuts (Intents?) to a non-trivial app. My main goal is to allow users to automatise some tasks within the app using Shortcuts.app.
I have defined MyIntent in the Intents.intentdefinition in the…

Tom Kraina
- 3,569
- 1
- 38
- 58
1
vote
1 answer
Intent Extension for Siri Shortcuts works in Sample App not in existing project
I am trying to use Intents Extension in my existing Obj-C project for conversational shortcuts in iOS 13. I have followed all the steps and the procedures work fine in a sample app.
But when I try it out in my existing application the intents fail…

Aravind Mariappan
- 271
- 3
- 14
1
vote
1 answer
How does SiriKit parse commands for Pinterest
Could anyone enlighten me how does Siri recognise this sentence for Pinterest?
Pinterest: Find specific ideas you've saved: "Hey Siri, find women's
fashion Pins on Pinterest." https://www.imore.com/siri-apps-faq
I suspect its using…

John Kuan
- 116
- 2
- 11
1
vote
1 answer
Siri always responds 'Continue in the app' when starting workout with SiriKit
I was working on a SiriKit intents extension for our app. We're using the workout extension type. The problem is, I just put the required methods in and always pass .ready but Siri always responds,
Sorry, you'll have to continue in the app.
I…

ctkrocks
- 95
- 2
- 12