Post

Replies

Boosts

Views

Activity

Reply to Issues with Siri Shortcuts: Confirmation Prompt, Inconsistent Behavior
Dear Team, We are eagerly waiting for a response regarding Siri issue from your side, so that we can release a version of our App with Siri support. Based on the sysdiagnose report, is there any possible way to figure out any workaround I can try to make this issue fix. Or will Apple update anything on SiriKit. Can you please give a response on this, as we need to add siri feature in our app as a top priority for our valuable customers.
Topic: App & System Services SubTopic: General Tags:
Apr ’25
Reply to Issues with Siri Shortcuts: Confirmation Prompt, Inconsistent Behavior
I have changed my ShortcutProvider as below, so that I can see all the shortcuts with AppName in Shortcut App and test them. import AppIntents @available(iOS 16.0, *) struct MZDonationShortcuts: AppShortcutsProvider { static var appShortcuts: [AppShortcut] { AppShortcut( intent: MZDonationIntent(), phrases: [ "Donate through \(.applicationName)", "Donate to \(\.$donationCategoryEntity) using \(.applicationName)", "تبرع من خلال \(.applicationName)", "تبرع ل \(.applicationName)", "تبرع ب \(.applicationName)", "تبرع باستخدام \(.applicationName)", "تبرع \(\.$donationCategoryEntity) \(.applicationName)" ] ) AppShortcut( intent: MZDonationIntent(), phrases: [ "Donate using \(.applicationName)" ] ) AppShortcut( intent: MZDonationIntent(), phrases: [ "Donate with \(.applicationName)" ] ) AppShortcut( intent: MZDonationIntent(), phrases: [ "Donate to \(.applicationName)" ] ) } } All the phrases "Donate through", "Donate using" etc are working perfectly from Shortcut app. Also tested in Product -> AppShortcut Preview -> Says Matching Phrase there as well. Issue is only when user say the phrase with Siri. (This is the feature our users looking for) My App is in React-native and Minimum deployment Target is 12.0, So I want not able to Add AppShortcuts.xcstrings as you have instructed, So I have added AppShortcuts.strings file now. The File is as below , I hope this is how it is expected to be. "Donate through ${applicationName}" = "Donate through ${applicationName}"; "Donate to ${applicationName}" = "Donate to ${applicationName}"; "Donate with ${applicationName}" = "Donate with ${applicationName}"; "Donate using ${applicationName}" = "Donate using ${applicationName}"; "Donate to ${donationCategoryEntity} using ${applicationName}" = "Donate to ${donationCategoryEntity} using ${applicationName}"; These changes I tested on iphone 11 pro (18.3.1) "Donate Using AppName" is not working. Rest all phrases working. For further testing, I changed my Minimum Deployment target to 18.0, Then added the AppShortcuts.xcstrings and removed AppShortcuts.strings, But experiencing the same issue. Any help On this, (AppShortcuts.string Added in my Main target, I am not using Intent Extension, all my Siri related files are inside Main Target -> Siri Folder -> I have AppIntent, AppShortcutsProvider, Entity, Modal and Query)
Topic: App & System Services SubTopic: General Tags:
Mar ’25
Reply to Issues with Siri Shortcuts: Confirmation Prompt, Inconsistent Behavior
Update on Issue: I was initially using INPreferences.siriLanguageCode(), which required Siri authorization. Because of this, I had added the Siri Capability and usage descriptions in Info.plist. However, I later removed these and tried implementing the integration similar to Apple's sample app. Findings: On iOS 16, all phrases defined in AppShortcutsProvider work as expected. On iOS 18.3.1, the phrase "Donate using (.applicationName)" does not work, while phrases like: "Donate to (.applicationName)" "Donate with (.applicationName)" "Donate through (.applicationName)"do work. The problematic phrase is listed in the Shortcuts app and runs correctly from there. It also works when the app is open. After fresh installation, all phrases work, and Siri asks to turn on shortcuts. However, if the user does not enable the shortcut and does not use the app for a few days, only "Donate through (.applicationName)" continues working. All other phrases, including parameterized ones, stop working. If the user opens the app, all phrases start working again. Questions: Why does "Donate using (.applicationName)" fail in iOS 18 but not in iOS 16, why only specific work. "using" is having issue? Why do shortcuts stop working after inactivity unless the app is opened? Any insights into these behaviors would be greatly appreciated!
Topic: App & System Services SubTopic: General Tags:
Mar ’25