React native 如何从android gallery向react本机应用发送图像?

React native 如何从android gallery向react本机应用发送图像?,react-native,react-native-android,React Native,React Native Android,如何从android gallery共享图像以响应本机应用程序 我已将意图过滤器添加到我的AndroidManifest.xml中: <intent-filter> <action android:name="android.intent.action.SEND" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="ima

如何从android gallery共享图像以响应本机应用程序

我已将意图过滤器添加到我的AndroidManifest.xml中:

<intent-filter>
  <action android:name="android.intent.action.SEND" />
  <category android:name="android.intent.category.DEFAULT" />
  <data android:mimeType="image/*" />
</intent-filter>

我如何倾听发送意图


编辑:我想将本机图像库中的图像发送到我的react本机应用程序,就像将图像从库中共享到instagram应用程序一样。

目前没有内置方法来处理此问题。所以我自己写了一个简单的原生android模块

最后我找到了一个支持ios和android的扩展


你读过关于“谢谢”的书吗,但我认为CameraRoll帮不了我。它应该更像但没有url