574
Share Extension (iOS) & Share Intent (Android)
Rufat (@rufat)
We need this feature for both of the platforms. This is an essential feature. Expo must add this to its' built-in modules: https://github.com/alinz/react-native-share-extension
Activity Feed
Sort by
E
Etienne Cunin
Hello there,
I open sourced the code developed for my company that does some things about this.
It is an expo plugin that enables the share extension for iOS only, and you still have to write the extension by yourself (I added an example).
Here are the links:
https://github.com/BreckoEC/share-extension-expo-plugin
https://github.com/BreckoEC/share-extension-expo-example
P
Philip
I've had some luck (still WIP, Android only for now) with https://github.com/meedan/react-native-share-menu. Followed instructions in the repo for installation, skipped recommended part with
share.js
and plugged share listener in the root App component directlyimport ShareMenuAPI, { ShareListener, ShareData } from "react-native-share-menu";
const App = () => {
React.useEffect(() => {
let sub: ShareListener | null = null;
ShareMenuAPI.getInitialShare((d) => {
logShareData(d);
sub = ShareMenuAPI.addNewShareListener((newShare) => {
logShareData(newShare);
});
});
return () => {
if (sub) {
sub.remove();
}
};
}, []);
return ...
}
Yonatan
Philip: Nice
Charles de Dreuille
I believe it's now possible with Expo Modules but it's up to someone who knows Swift (Not my case) to create the necessary plugin. I found this team on Discord who might have a solution they could potentially open source.
М
Максим Мартынов
Really need this feature
m
magoz
Any updates?
Valerius
Are there any updates? The feature request is open for like 4 years by now :D
hawei
How's going on ? my app need this feature
Vlad Apostol
Really looking forward to this feature!
Paul Woods
OMG! Would LOVE this feature not only with files, text, etc. But with location links too! For example from google or apple maps... I hate how apple done it with info.plist
Daniel
I hope we get some news on this soon. This is really crucial to us.
Load More
→