intents-extension

How to customise SiriKit intent extension for shortcuts app to ask allow access?

谁说我不能喝 提交于 2019-12-24 18:50:23
问题 We are allowed to build custom intent for Siri, by extending SiriKit. Moreover, Apples present how to manage basic integrations and customizations to Siri Shortcuts and Shortcuts app Link for shortcuts app Nonetheless, some apps have their own shortcuts UI with a little customization; for instance with the button to allow access for API, how can we do that? In the documentation presented by Apple, there is no such instruction for how is it possible to customize the UI inside the shortcuts app

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

Siri always responds 'Continue in the app' when starting workout with SiriKit

流过昼夜 提交于 2019-12-09 23:31:47
问题 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 have tried other responses as well ( .failure and .unspecified ), but she still says to continue in the app. I've followed the documentation provided by Apple to setup my .plist files, but it still might be something related to that. Here is my Intents

SiriKit payment confirmation currency is always US$

一曲冷凌霜 提交于 2019-12-07 02:41:13
问题 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 <Your_App> payment for US$25.00. Do you want to send it? Intent contains proper currency iso 3 code - EUR, so why siri displays wrong currency in payment confirmation? returning intent INSendPaymentIntentResponse *reponse = [[INSendPaymentIntentResponse alloc] initWithCode:INSendPaymentIntentResponseCodeReady userActivity:userActivity]; completion

How do I debug my Siri (Intents) extension?

我与影子孤独终老i 提交于 2019-12-06 01:43:22
问题 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 least for some time, Siri is showing clear responses. By the Apple documentation, you should run the Extension Scheme with Siri as host app. However, if I try that nothing happens on the device, it's waiting to attach for ever. Apple mentions the

SiriKit payment confirmation currency is always US$

拟墨画扇 提交于 2019-12-05 06:28:14
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 <Your_App> payment for US$25.00. Do you want to send it? Intent contains proper currency iso 3 code - EUR, so why siri displays wrong currency in payment confirmation? returning intent INSendPaymentIntentResponse *reponse = [[INSendPaymentIntentResponse alloc] initWithCode:INSendPaymentIntentResponseCodeReady userActivity:userActivity]; completion(reponse); You need to add a paymentRecord to your response in (void)confirmSendPayment:

Siri always responds 'Continue in the app' when starting workout with SiriKit

别说谁变了你拦得住时间么 提交于 2019-12-04 19:12:23
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 have tried other responses as well ( .failure and .unspecified ), but she still says to continue in the app. I've followed the documentation provided by Apple to setup my .plist files, but it still might be something related to that. Here is my Intents code : class IntentHandler: INExtension, INStartWorkoutIntentHandling, INPauseWorkoutIntentHandling,

How do I debug my Siri (Intents) extension?

橙三吉。 提交于 2019-12-04 07:12:05
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 least for some time, Siri is showing clear responses. By the Apple documentation, you should run the Extension Scheme with Siri as host app. However, if I try that nothing happens on the device, it's waiting to attach for ever. Apple mentions the first connection can take " several minutes ", but not hours ... Any idea where I'm going wrong or how to