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

Expo plugin with expo-apple-targets?

Open crieggalder opened this issue 2 years ago • 6 comments

I'm looking to build a simple share extension with no custom UI - just see the app icon in the native share menu, click it, open app, handle shared file/url. What's the best path to accomplish this in an expo project?

Does https://github.com/EvanBacon/expo-apple-targets make an expo plugin more feasible? (#162)

crieggalder avatar Aug 15 '23 04:08 crieggalder

@crieggalder you can look into https://github.com/ajith-ab/react-native-receive-sharing-intent

stoicaandrei avatar Aug 29 '23 10:08 stoicaandrei

Looks like this requires manually editing files in ios directory, which I'd like to avoid if possible so my native files are fully code-generated. That's where an Expo plugin would be helpful.

cc @caiosba in case you have any guidance.

crieggalder avatar Aug 30 '23 23:08 crieggalder

@crieggalder Have you figured this out yet?

QuixThe2nd avatar Sep 25 '23 14:09 QuixThe2nd

@QuixThe2nd Nope, not yet!

crieggalder avatar Oct 12 '23 15:10 crieggalder

@crieggalder you can look into https://github.com/ajith-ab/react-native-receive-sharing-intent

Hi guys, I was looking at this. I'm no config plugin expert but it seems to me that config plugins are not mature enough for this kind of setup. I would go for a ShareExtension in XCode and then with the plugin somehow try to put both apps in the same group. And this is only iOS.

Perhaps someone from the config plugin authors could help us out with some guidance.

alanschwarz avatar Dec 13 '23 09:12 alanschwarz

There's also this -- https://github.com/achorein/expo-share-intent-demo which is configured as an expo plugin! However, it doesn't currently support custom share intent view

belle-chang avatar Dec 20 '23 15:12 belle-chang