sirikit

Does Apple provide an API for SIRI?

百般思念 提交于 2019-12-17 05:07:39
问题 Is it possible that Apple does or will provide an API for Siri? It would be great if I can be sipping my coffee and say, User: Hey Siri, could you please open Angry Birds; Level 4 and throw a first bird for me. Make sure you at least hit one green pig or it's coming out of your paycheck. Siri: Yes sure, I will do that for you. Is this possible? And would you think Apple will provide this to us? 回答1: In iOS 10, Apple has announced an API for Siri called SiriKit. However, you can only do it as

Siri - contact searching behaviour similar to skype for audio call

青春壹個敷衍的年華 提交于 2019-12-13 23:26:07
问题 I am implementing a VoIP application where I need to initiate call through Siri. I was able to initiate a call through Siri. But problem is - every time application is launched though the contact is not in the app's contact list. I am not sure how and where to handle that. I mean not to launch the application if application does not have that contact like Skype handled it. Skype replied something like: Hmm, Skype didn't find <user>. Who would you like to call? Bellow is my code snippet for

Open a different UIViewController when app is launched via SiriKit

旧时模样 提交于 2019-12-12 18:33:54
问题 I am trying to implement SiriKit in my iOS app. I want to open a different view controller when the app is launched through Siri. How can I handle this type of operation in my app? 回答1: You can do this, however, first you will have to setup SiriKit in your app, which is a bit of work with a long list of instructions: https://developer.apple.com/library/prerelease/content/documentation/Intents/Conceptual/SiriIntegrationGuide/index.html#//apple_ref/doc/uid/TP40016875-CH11-SW1 . There's also a

iOS Siri Intents Extension “I don't see an app for that. You'll need to download one.”

不羁岁月 提交于 2019-12-12 12:18:52
问题 I am writing a Swift framework that contains a Siri intentdefinition file and code that is used both from the main app, from a Today extension, and from a Siri intent extension. I am using Cocoapods to distribute the framework (it is in a private repo, so I cannot share the framework itself). This works well for compiling, linking, and executing code from within the app and the Today extension. The app (or Today extension) successfully donates the intent when the user performs the

Siri is not working in existing project

安稳与你 提交于 2019-12-12 08:43:12
问题 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 Support section. Plist configuration is like: Also see the plist configuration of extension: Whenever i am giving any voice command it's saying "I wish I could, but < app > hasn't set that up with me yet." I have also tried by enabling Siri from

Sirikit and parent app communication in ios 10 : Handoff

依然范特西╮ 提交于 2019-12-11 23:18:17
问题 I am using Sirikit to integrate with my payment domain app where I need to interact with the app. I read Apple documentation, they asked to use common frameworks. Is it possible to use handoff? if yes then how? How can I call the other viewController which is in parent app from sirikit? I will really appreciate for any help. Thanks 回答1: Check SiriKit Programming Guide, To use handoff, You can create intent response object with NSUserActivity object. While creating NSUserActivity object assign

IntentsUI extension not reached for INSearchForNotebookItemsIntent

懵懂的女人 提交于 2019-12-11 14:49:48
问题 Implementing both custom and standard SiriKit intents and generally having good success. In principle, in the info.plist of both the Intents and IntentsUI extensions, you include the intent class supported, and the UI extension is run after the intent is successfully handled. That is working for my custom intent (eg, MyAppCustomIntent ) and for one of the standard intents ( INSendMessageIntent ). But for another intent I've implemented, INSearchForNotebookItemsIntent , the UI extension is

Sirikit StartAudioCall Fail

冷暖自知 提交于 2019-12-11 05:29:02
问题 Test Background: Xcode: Xcode8 beta6 iPhone: iOS10 beta6 Language: object-c I have used startAudioCall sirikit in my App to test my app call. However, the sirikit will fail in some situation: If the person's name is a first name in local contact, when I say "Call firstname myApp", siri can start myApp get this contact name successfully But if the person's name is both first name and last name, when I say "Call firstname(or both first name and last name) myApp" , siri will call this person

Siri : IntentHandler not behaving correctly with device Touch ID

给你一囗甜甜゛ 提交于 2019-12-11 05:18:14
问题 What is the right approach to handle device LocalAuthentication with NSIntent ? Currently it is not showing payment sent pop up in Siri INSendPaymentIntent . - (void)handleSendPayment:(INSendPaymentIntent *)intent completion:(void (^)(INSendPaymentIntentResponse *response))completion { __block INSendPaymentIntentResponse *siriResponse; LAContext *context = [[LAContext alloc] init]; NSError *error = nil; // Check if device supports TouchID if ([context canEvaluatePolicy

How to enable keychain sharing with Siri kit extension?

試著忘記壹切 提交于 2019-12-11 04:52:21
问题 I want to enable keychain sharing between my app and sirikit extension. I have added keychain access group with same string for app and sirikit. Also added App group for both the targets with same string. I am using Locksmith as a keychain wrapper, which is also using the kSecAttrAccessGroup property with the value teamID + keychain access group ID. But I am getting the following error when I try to run from siri extension: CredStore - performQuery - Error copying matching creds. Error=-25300