New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plans to support native share extension without detaching? #48
Comments
Not sure there is a need for an extension, the new RN supports sharing out of the box: https://facebook.github.io/react-native/docs/share.html Thus my guess is that this will come to exponent whenever the SDK upgrades to the latest RN branch. |
Thinking of sharing from the other direction (I.e you're on an app outside the context of an exponent app and want to share content TO the exponent app). Basically registering a react native / exponent app on the share screen. |
+1 |
It's not at the top of our roadmap right now -- could you add an entry here? (I didn't find an existing entry when searching) https://expo.canny.io/feature-requests |
Just submitted. Thanks! https://expo.canny.io/feature-requests/p/ios-app-extension |
I upvoted the above, but also added a roadmap request more specifically for android, as well. I didn't want it to get lost in the shuffle: https://expo.canny.io/feature-requests/p/implement-android-share-receiver |
keen on this too! |
Hi I am working with share extension too. Could you please advise whether the feature is already added to Expo? And if yes, please provide me some guides for using it. Thanks in advance |
Hi @ide any update on this feature? I am building an app that needs to be inside the device's share menu so that data (photos, specifically) can be passed into the app from external apps, as @broskoski explained. I would be happy to assist in a PR if you think it'd get merged. |
For updates regarding Expo APIs, see https://docs.expo.io. There is no native share extension API. We could possibly take a PR that satisfies these nominal criteria:
|
@ide Okay, understood. It's a shame that this is going to end up forcing me to detach. To your knowledge is there one or more existing canny feature requests that I should use, or create a new one? |
I don’t know if there is a request out for this. Please feel free to create a new one if you don’t find one after searching. |
Any PR of the share extension feature? |
pr would be welcome! |
Hey all - just want to point out that we aren't really actively maintaining Share extensions are hard, and very platform-specific. May or may not be better to start over if Expo wants to devote resources to it! |
@isaachinman do you know if there is a good starting point? (ie. specific fork or resources) I think I will start at a new |
@xcarpentier So in general, it is highly dependent on what it is you actually want to share. The It's since evolved, but mostly via PRs and forks, to support other content like images, videos, multiple images, and so on. I would suggest looking through this alinz/react-native-share-extension#84 PR, and taking a look at the iOS approach on Let me know if you have any other questions. @AndrewHenderson probably has more knowledge than I do - he might be able to help as well. Would be great to have movement in this area, as there's currently no (even remotely) easy way to do this with RN right now. |
Thanks for the great explanation @isaachinman A share extension would be a welcome addition to expo. If anyone is tackling this problem, I'm happy to help. |
Any news on this? |
See approach for implementing share extensions with RN here: https://github.com/alinz/react-native-share-extension
Curious if this is already something that's on your minds (before I attempt to implement).
Thanks for all your work thus far, really enjoying the Exponent dev experience!
The text was updated successfully, but these errors were encountered: