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: