I am trying to create an app extension that i can use in a shortcut using the "share with apps" action. I have the extension created AND it shows up in the regular share sheet for just sharing anything. However, when i go into the shortcut app to create an automation that use the "Share with apps" action and try to select my app, i only see health, linkedin, slack, reminders, and a few other apps. What is different about this share functionality vs regular share functionality?
Does anyone know how to make their app show up in the list of apps you can select when you are in shortcuts using "Share with apps" action?
To be more specific. here is example. One image attached shows the shortcut of taking screenshot and opening pinterest which still in the original app (in this example it was the Notes app).
The other screenshot shows my shortcut setup. The goal here is for me to select my app instead of pinterest. I dont see my app listed in the list of apps to select. I have tried app intents, intents, share extensions but clearly doing something wrong. Thanks!
Update
OK so i have my ActionExtension working BUT only in simulator. When i go to try on my device i do not see it. Attached shows simulator.
Also, when i try to run the shortcut i get this error
Does anyone know why this would be the case? My updated rule is SUBQUERY ( extensionItems, $extensionItem, SUBQUERY ( $extensionItem.attachments, $attachment, ( ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.image" ) ).@count == $extensionItem.attachments.@count ).@count == 1
Have you included the corresponding UTI types in your
info.plist
?For example, if your extension supports:
public.text
public.image
info.plist