I would love to be able add Siri commands to my app/ have my app deliver results directly to Siri/ have it read it out. What’s the best way to get this done?
Hey @mikaelacaron thanks for the response (also thanks @Chris_Parker for your reply) appreciate your guys’ expertise!
Mikaela, I’m a little confused how tagging someone discourages engagement… can you please explain more?
@Dougster asked this very same question in the fall 2022, and received no response. I asked the same question 30 days ago, and received a whopping, drumroll please zero responses. It’s only because I tagged individuals that we’re having this conversation
I don’t get how to use the latest/ greatest techniques to enable an app to use Siri. I see it working in the Soupkit app (kinda), but not really elsewhere. Can you please direct me to some good video tutorials of its implementation?
Like many others that pay for CWC+, we do so, because we find Apple’s docs, so cryptic. Meanwhile, your team’s videos make them accessible for us. love the site! Would love to see some videos by Stewart Lynch or Chris on how to use Siri as well
It shows you may be looking answers from specific individuals, which can discourage others from answering your question.
Generally if you ask a question and don’t get a response, and then comment back “hey still looking for answering on this, I’ve tried XYZ, but am having trouble with JFK”
That can help show your post again, and shows you’ve tried and what you’re having issues with. This forum is sorted by last post, so sometimes posts can get buried.
Have you gone through the tutorials you linked? Do you have an issue on a specific step, not understanding what it’s asking, or what something means? (We can try to guide you, but I also haven’t used SiriKit)
Hey I didn’t view it like that before, but now I see what you mean. Thanks
I’ll give it a shot in the future! Thanks
In my case, I haven’t gotten the SoupKit app by Apple to work with Siri. It just doesn’t activate Siri. However, it turned out it was disabled for free dev users, so after purchasing a dev account it should work for me… and then like with all code, it breaks, so I haven’t had time to fix the issues with my previously running SoupKit tutorial.
The tutorial I sent you successfully creates the Shortcuts in the user’s phone without any user interaction (you can check your phone’s “Shortcuts App” after installing your prototype). The tricky part is to activate the Shortcut with a voice command to Siri. I found many people struggling with this as well → App Intent not Discoverable by Siri | Apple Developer Forums
According to the people complaining in the link in my bullet point n°(2), once you build and install the app on your phone, it can take a while for Siri to learn your app’s name. (Some people say a few hours, others say 10min - but the point is it takes a while).
Anyway. After all this, for me it works. When I say: “Hey Siri, add one to my counter”, the shortcut gets triggered, the app opens, and my counter increments.
I wonder what could be built with this power
I hope you can make it work now, good luck Andrew!
(totally unrelated, but I just realized there’s a cake emoji next to my name because today is my 2nd-year anniversary on the forum haha. That’s funny)
At the time, I didn’t do Intents UI since you need to use UIKit for that. I think with App Intents you can use SwiftUI, but I could be wrong about that.
Seems @CalStark 's method would be the way to go for App Intents.
Yes @xpher0408, this is pure SwiftUI! Including the customization of the image, message etc in the shortcut popups. It’s surprisingly little code. The old way of doing this looks difficult haha
Hi all, thanks so much for taking the time to respond, and provide closer points to getting this to work!!
I’ll try getting their SoupKit tutorial to build again per @mikaelacaron.
Meanwhile, I’d much rather use the new methods/ shorter stuff @CalStark found! Raphael, merci becoup! Thanks so much for taking the time to write all that stuff out, leaving multiple links; key points in the video, and most importantly your thoughts and analysis!
You even answered one of my other questions, how to change my app’s name! It looked important to me the way the code was written.
Although, it’s unfortunate that it sometimes takes Siri a few hours to “discover” the app.
Good to know the code-as-is builds shortcuts without user interactions, but I’m so glad you got it to work! This will be a major feature in my app
@CalStark I’m a little closer thanks to your help!
I can now ask Siri to “add one to MyCounter,” which will then launch the app. For some reason, it does not add it to my counter though. I’ll keep figuring around with it though/ trying different phrases.
Very grateful again for your thorough research! I’d love to use the latest frameworks from Apple to get this working. The code’s way simpler compared to older styles