Comments (19)
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.
from expo.
Just submitted. Thanks! https://expo.canny.io/feature-requests/p/ios-app-extension
from expo.
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
from expo.
@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?
from expo.
Any news on this?
from expo.
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
from expo.
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:
- Works on both Android and iOS
- is small in scope and maintainable (this is subjective)
- Follows the Expo SDK conventions implied by existing APIs
- Objective-C and Java implementations to the standard of expo/expo code and facebook/react-native code
- A few example code snippets we can include in the integration test suite
- If the JS implementation has logic, Jest tests along with it
from expo.
Any PR of the share extension feature?
from expo.
pr would be welcome!
from expo.
@xcarpentier So in general, it is highly dependent on what it is you actually want to share. The react-native-share-extension
repository originally began as a project to share text links from web browsers into other apps.
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 master
. In general, there are a lot more hoops to jump through to achieve this on iOS (unsurprisingly), and it's very hard to achieve feature parity, depending on what sort of content types you want to support.
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.
from expo.
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.
from expo.
+1
from expo.
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
from expo.
keen on this too!
from expo.
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.
from expo.
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.
from expo.
Hey all - just want to point out that we aren't really actively maintaining react-native-share-extension
anymore, and most (to my knowledge) production use cases are running off forks.
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!
from expo.
@isaachinman do you know if there is a good starting point? (ie. specific fork or resources)
BTW differences between platforms can be managed and interfaced in front TS code, no?
I think I will start at a new expo-share-extension
package on my own and propose.
from expo.
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.
from expo.
Related Issues (20)
- Expo Image Picker Not working on Android 14 HOT 2
- expo-camera/next onResponsiveOrientationChanged event type mismatch HOT 6
- Error: The method or property expo-crypto.getRandomBytes is not available on android, are you sure you've linked all the native dependencies properly? HOT 1
- (Expo Router 3.5.2) - Wrapping route in Slot/Stack layout causes params to be undefined HOT 1
- can't copy object JS Debugger (DevTools) on SDK 50 HOT 5
- [Android][SDK 50] expo-camera/next causes freeze on render for specific OnePlus Device model HOT 1
- New expo and react native project events do not work HOT 2
- its telling me that i cant run the expo app on web because i have not yet installed the web dependencies HOT 1
- Cannot read property 'useMemo' of null HOT 20
- [SDK51/router 3.5.3] Href prop on Link not typed HOT 2
- expo-build-properties doesn't set iOS deployment target correctly. HOT 1
- expo-build-properties doesn't set iOS deployment target correctly. HOT 2
- Expo font not working HOT 1
- build error (in target 'EXUpdates' from project 'Pods') HOT 1
- [docs] @example tags are not rendered correctly HOT 1
- expo-image-picker doesn't return the cancel event on Web HOT 1
- Cannot build for iOS 17.4 with JSC - Expo 51 Beta HOT 4
- [SDK 51 beta] Build failing when not using Expo CLI integration in bare app HOT 10
- Cannot build when including react-native-skia with SDK 51 beta HOT 4
- Issue when running yarn test - Expo SDK 51 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from expo.