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)
- EAS Build not including local custom module when building HOT 2
- i face same error gradle bulid HOT 1
- CXX 1429 error when building with cmake after npm run android HOT 2
- [expo-background-fetch] Background not triggering HOT 1
- When will there be a new release of expo-camera? HOT 1
- ReactNative App help HOT 2
- Android Emulator Works, but not on any device - Imagepicker upload. HOT 1
- expo-media-library adds the ACCESS_MEDIA_LOCATION permission by default on Android HOT 1
- Auto refresh or Auto reload on my device HOT 2
- [docs] "Use ESLint and Prettier": [email protected] is not compatible with eslint-config-universe HOT 1
- Expo font ERROR fontFamily "Avenir95Black" is not a system font and has not been loaded through Font.loadAsync HOT 1
- [expo-updates] Attempt to invoke virtual method 'void expo.modules.updates.db.entity.AssetEntity.setLaunchAsset(boolean)' on a null object reference HOT 5
- The build crashes after the expo 50 update HOT 1
- The build crashes after the expo 50 update HOT 1
- [expo-sqlite] Error: Call to function 'NativeDatabase.prepareAsync' has been rejected. Caused by: java.lang.NullPointerException: java.lang.NullPointerException] HOT 8
- TypeError: body used already for: https://api.expo.dev/v2/auth/loginAsync when using npx expo login HOT 4
- [expo-image] Animated images don't animate at small sizes
- expo-sensors barometer not working since ios 17.4 HOT 1
- expo-sensors Barometer not working since iOS 17.4 HOT 2
- Creating a Native Module is failing at "Prebuilding the example app" step (MacOS)(Linux) HOT 5
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.