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

Has anyone looked at making an Expo plugin?

Open carlgieringer opened this issue 4 years ago • 12 comments

Hi, I was wondering if anyone had looked at creating an Expo plugin for this library. Doing so would (ideally) make it easier to create a cross-platform app (with Expo) that incorporated this library.

I am looking to add share target functionality to an Expo-based app, and so I was wondering if anyone had already looked at this, and potentially identified any difficulties in doing it.

Thanks!

carlgieringer avatar Nov 16 '21 04:11 carlgieringer

There are demands for that -- 450+ votes from expo community on a plugin as you proposed: https://expo.canny.io/feature-requests/p/share-extension-ios-share-intent-android

However, there is no such expo plugin / library to my knowledge.

robbiedood avatar Jan 11 '22 17:01 robbiedood

I'm looking into it, but I need help getting the iOS side to work correctly to continue. If you have this working and can share some knowledge, would be happy to help.

frankcalise avatar Oct 14 '22 02:10 frankcalise

I ended up just going with a bare React Native app that includes this library. (https://github.com/Howdju/react-native-share-menu)

carlgieringer avatar Oct 19 '22 07:10 carlgieringer

@carlgieringer your own fork you made some improvements to?

frankcalise avatar Oct 19 '22 12:10 frankcalise

I did a refactor to try and clean up the code (my opinion; I'm not much of a Swift developer). Functionality-wise, I added the ability to share multiple items, but this feature was also added recently in this repository (https://github.com/meedan/react-native-share-menu/commit/a8ab1ad4f71db29c169b9effdb937ff63dd4a59d).

carlgieringer avatar Oct 20 '22 03:10 carlgieringer

Hi guys, share my expo config plugin to auto-configure iOS Share Extension. https://github.com/langtube/expo-config-plugin-ios-share-extension

timedtext avatar Oct 21 '22 09:10 timedtext

You can check out an implementation here https://github.com/frankcalise/expo-share-ios/tree/expo-plugin

frankcalise avatar Dec 15 '22 17:12 frankcalise

any updates on this?

davidkrammer avatar Mar 28 '23 11:03 davidkrammer

Hi guys, share my expo config plugin to auto-configure iOS Share Extension. https://github.com/langtube/expo-config-plugin-ios-share-extension

Thanks @timedtext for the plugin! I was able to get it working on iOS pretty easily with EAS. I'm wondering if anyone knows of an Android plugin that's similar? I can help create one if someone can help with the steps.

lucasgismondi-gg avatar Apr 12 '23 14:04 lucasgismondi-gg

Hi @lucasgismondi-gg how did you get it working with eas ? We have the error: Requested but did not find extension point with identifier Xcode.InterfaceBuilderBuildSupport.PlatformDefinition

Thanks!

minuitagency avatar May 17 '23 14:05 minuitagency

bumping this

ice-cap0 avatar Jul 23 '23 02:07 ice-cap0

See https://github.com/achorein/expo-share-intent-demo from https://expo.canny.io/feature-requests/p/share-extension-ios-share-intent-android

linonetwo avatar Sep 08 '23 14:09 linonetwo