Open ZyphiraZircon opened 5 years ago
+1
I know its kind of a silly question, but did you check if you have to enable your application first inside the sharing popup?
@AlexanderHieser , for me I don't see it in the "share to" menu. I have installed the plugin with the type public.url When i manually edit my the shareextension-info.plist file to the following :
<dict>
<key>NSExtensionAttributes</key>
<dict>
<key>NSExtensionActivationRule</key>
<!-- string>TRUEPREDICATE</string -->
<dict>
<key>NSExtensionActivationSupportsImageWithMaxCount</key>
<integer>1</integer>
<key>NSExtensionActivationSupportsMovieWithMaxCount</key>
<integer>1</integer>
<key>NSExtensionActivationSupportsWebURLWithMaxCount</key>
<integer>1</integer>
</dict>
<key>NSExtensionActivationUsesStrictMatching</key>
<integer>1</integer>
<key>NSExtensionActivationDictionaryVersion</key>
<integer>2</integer>
</dict>
<key>NSExtensionMainStoryboard</key>
<string>MainInterface</string>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.share-services</string>
</dict>
the application starts appearing in safari share to menu and when i post it i am redirected to my app. the problem now is that the app doesn't get any data from this action.
The goal of my app is to be able to open Safari (on iOS) -> navigate to a web page -> click on the Share icon -> have my app show up in the list of apps to share to -> accept and handle the data
I've tried many different Uniform Type Identifiers, and none of them cause my app to show up in the list of apps to share to, even after clicking "More." However, public.image works just fine for sharing images from the Photos app on my (simulated) device, but nada when it comes to safari, even raw images loaded in safari.
So far I've tried:
But nothing is causing it to show up. Any help would be appreciated.