I am using react-native-share
to share images from my app to an other app. It is working fine but my own app is appearing in the share sheet. How can I exclude my app so that it does not appear in share the sheet.
i have used excludedActivityTypes:["com.org.myappIdentifier"]
prop as well but it is not working .
For reference follow this link:
https://pspdfkit.com/blog/2016/hiding-action-share-extensions-in-your-own-apps/
In node_modules/react-native-share/ios/RNShare.mm add this function at top and replace Your share extension target with your target.
and then in open method add these lines of code.
This will hopefully fix your issue.