react-native-share-menu
react-native-share-menu copied to clipboard
Suddenly, can not share videos on iOS anymore ...
Hi guys,
I didn't change anything as long as I remember in my project, and now I can only share images but not videos. I mean when I try to share a video and my APP doesn't appear in the share APPS to choose, I look for the addiotional apps "..." but nothing.
This is my info.plist
<key>NSExtensionAttributes</key>
<dict>
<key>NSExtensionActivationRule</key>
<dict>
<key>NSExtensionActivationSupportsImageWithMaxCount</key>
<integer>1</integer>
<key>NSExtensionActivationSupportsMovieWithMaxCount</key>
<integer>1</integer>
<key>NSExtensionActivationSupportsText</key>
<true/>
<key>NSExtensionActivationSupportsWebURLWithMaxCount</key>
<integer>1</integer>
</dict>
</dict>
Same XCODE 12.2 and iOS 14.2 Phisical Device
I thinks certificates are ok becasue I could share an iamge :(
Do you know what could be this?
Thanks!
Matt.
According to the the extension plist docs (https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/AppExtensionKeys.html#//apple_ref/doc/uid/TP40014212-SW10), you might need to set NSExtensionActivationDictionaryVersion to support the app you're sharing from.
For example, say an item provider in a host app is offering an image asset and a text asset, and a Share extension is capable of handling only text assets. If the app extension’s Info.plist file does not have this key, or has this key and its value is set to 1, the extension will not appear in the activity view controller when the user taps the Action button in the host app. However, if the app extension’s Info.plist file has this key and its value is 2, the extension will appear.
Ok, thanks for your answer, I will check that, but I fixed the problem in this way and may be this helps other:
I read some forums in de APPLE developer forum that it is happening with ios 14.2 or something like that, I change my language to ENGLISH and evertything start working, then I cahne to my native language and it works again, other solution is to turn off the iphone and turn on again. It weird but people are saying that is an iOS bug.
Thanks!