Sharing a pdf url through share extension

Hi Apple Team,

We have an app feature in SME app which enables user to share docs,pdf's,images, urls etc.


While we trying to share a certain kind of pdf url : https://www.realwear.com/pdf/HMT1_UG_English.pdf then we are not able to share it to our app.


We have included all the extensions in the plist.


Plist Data :

<key>NSExtension</key>

<dict>

<key>NSExtensionAttributes</key>

<dict>

<key>NSExtensionActivationRule</key>

<dict>

<key>NSExtensionActivationSupportsAttachmentsWithMaxCount</key>

<integer>10</integer>

<key>NSExtensionActivationSupportsFileWithMaxCount</key>

<integer>10</integer>

<key>NSExtensionActivationSupportsImageWithMaxCount</key>

<integer>10</integer>

<key>NSExtensionActivationSupportsMovieWithMaxCount</key>

<integer>10</integer>

<key>NSExtensionActivationSupportsText</key>

<true/>

<key>NSExtensionActivationSupportsWebPageWithMaxCount</key>

<integer>10</integer>

<key>NSExtensionActivationSupportsWebURLWithMaxCount</key>

<integer>10</integer>

</dict>

</dict>

<key>NSExtensionMainStoryboard</key>

<string>MainInterface</string>

<key>NSExtensionPointIdentifier</key>

<string>com.apple.share-services</string>


Thanks in advance.

I am currently experiencing the same issue described above. When the URL endpoint is a PDF document the share option is not available for my app in the share menu. All of the NSExtensionActivationRule(s) are thrown in our plist to no avail. I will be implementing this on the Android side tomorrow to help make sense of this.

Please consider the issue alive and well...

Safari is the issue, try sharing from a Chrome browser on an iOS device..

Answer in this stackoverflow resolved this issue for our app. Essentially sharing PDF from Safari has two ActivationRules both PDF and URL, with Info.plist above you are limiting it to be only one ActivationRule and if it has more than one the app will not show up.

Sharing a pdf url through share extension
 
 
Q