I have several AppEnum in my app and I can no longer succesfully get a value using requestValue / requestDisambiguation methods in when running an AppIntent.
They all stopped working in iOS 17.4; The list of cases does show to the user but uppon selection it throws the following error:
AppIntents.PerformIntentError.unsupportedValueType
Post
Replies
Boosts
Views
Activity
My app has an AppIntent that returns a collection of AppEntity items.
Using a shortcut with the repeat with each action to loop the entities, it prompts me multiple times to allow to share the entities (I select "Always Allow" on the first one, but it keeps asking over and over).
All the prompts after the first one, shows an incorrect note saying something like:
"Previously this shortcut was allowed to share 1 item with …"
the count of items shared is always wrong, for example,
if I initially selected "Always Allow" for 10 entities on the first prompt,
the second says previously 1 item,
the third prompt actually has the count right, saying 10 items,
and then a fourth prompt (seems to be the last one) says something like 40 items
Some more facts:
This issue does not happen for example when I fetch entities from a system based intent, like get calendar events. It correctly only prompt for my permission once
My app is already on the app store