Expensify / react-native-share-menu

A module for React Native that adds your app to the share menu of the device
MIT License
632 stars 235 forks source link

iOS: Skip / don't show dialog, jump into app directly #300

Open skizzo opened 6 months ago

skizzo commented 6 months ago

Hi,

in my use case, I just want to be able to share plain text to my iOS app. There is no need to edit that text in any way before it reaches my RN app, so hence my question:

Is it possible to "skip" the share dialog on iOS and instead jump into the RN app directly after pressing the app icon from another app's "Share..." menu?

Thanks a lot for this awesome library :)

legolasbo commented 6 months ago

This issue is a duplicate of #285

DanielFRico commented 1 month ago

Hi, everyone. I hope is not too late. I found this workaround and it worked for me! https://stackoverflow.com/a/64124312. In case of success you will need to create a local patch to this library. I use the next one "npx patch-package react-native-share-menu"