Reputation: 1870
I have developed a share extension that accepts URLs and the share extension shows up in mobile Safari share menu and it works. But when I open the app Flipboard, which allows users to share articles to other apps, my share extension does not show up, while other share extensions do. I noticed that flipboard ends up sharing a URL too. My question is, why would mine do not show up? Any way of finding out what file format is the flipboard using to share? Thanks.
Upvotes: 2
Views: 356
Reputation: 1870
Found my own answer, here it is:
<key>NSExtensionActivationRule</key>
<string>
SUBQUERY (
extensionItems,
$extensionItem,
SUBQUERY (
$extensionItem.attachments,
$attachment,
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url" ||
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.text" ||
ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.data"
).@count == $extensionItem.attachments.@count
).@count > 0
</string>
Upvotes: 3