7

I am testing an iOS share extension I'm building for an iPhone app. The share extension only appears in the share sheet for Safari. It doesn't show up in any 3rd party apps like Alien Blue or even any other 1st party apps like News. Is this because the app has not yet been released? Or is it a problem with my code?

AttilaTheFun
  • 701
  • 2
  • 11
  • 19

1 Answers1

2

I have the following NSExtensionActivationRule set. My extension appears in Safari, Firefox and Chrome.

<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.plain-text"
                )
                ).@count == $extensionItem.attachments.@count
                ).@count == 1</string>
ThE uSeFuL
  • 1,456
  • 1
  • 16
  • 29