react-native-share-menu icon indicating copy to clipboard operation
react-native-share-menu copied to clipboard

App does not appear for some apps in iOS share sheet and do not open at first few attempts.

Open abthkr opened this issue 3 years ago • 3 comments

I am using the code from example app. I want my app to appear in text and URL sharing. It appears during sharing in share sheet only with some apps such as eBay and does not appear in some apps such as 1stdibs (other apps such as Slack, Chrome, Instagram etc. appears in both cases). I have also tried adding all activation rules but it doesn't work.

Moreover some more apps such as Firefox are not shown in share sheet in second case (appears in first case). App also doesn't start at first attempt after sharing (sometime I have to kill my application to start my app from share sheet).

I am using the following info.plist from example app:

<key>HostAppBundleIdentifier</key>
<string>com.test.tapp</string>
<key>HostAppURLScheme</key>
<string>tapp://</string>
<key>NSExtension</key>
<dict>
    <key>NSExtensionAttributes</key>
    <dict>
        <key>NSExtensionActivationRule</key>
        <dict>
            <key>NSExtensionActivationSupportsText</key>
            <true/>
            <key>NSExtensionActivationSupportsWebURLWithMaxCount</key>
            <integer>1</integer>
        </dict>
    </dict>
    <key>NSExtensionMainStoryboard</key>
    <string>MainInterface</string>
    <key>NSExtensionPointIdentifier</key>
    <string>com.apple.share-services</string>
</dict>

abthkr avatar May 07 '22 16:05 abthkr

@abthkr have you found a solution?

X-Anas-X avatar Oct 17 '22 08:10 X-Anas-X

having the same issue, my app does not appear at all in the ios share menu, any help would be appriciated

Vatousiadis avatar Dec 19 '22 11:12 Vatousiadis

hey! Have the same issue. Has anyone found an approach?

Marquicas2 avatar Apr 17 '23 09:04 Marquicas2