使用CRNA进行社交共享(创建React Native App)

问题描述 投票:1回答:1

如何在Facebook / Twitter上使用CRNA(创建反应本机应用程序)共享图像和文本?

我浏览了文档,但找不到任何东西。

任何线索在这里表示赞赏。

reactjs react-native expo create-react-native-app
1个回答
2
投票

您可以使用React Native的Share API(https://facebook.github.io/react-native/docs/0.52/share.html)来显示iOS / Android的本机共享对话框。

© www.soinside.com 2019 - 2024. All rights reserved.