React Native - sending text messages with an attached image

Does anyone have a working method for sending text messages that support linking local images from your React Native project? I am currently using reaction-native-communication ( https://github.com/anarchicknight/react-native-communications ), which does not seem to support attachments and just text.

When searching for libraries that support attachments, the only thing I could find was the reaction-native-message-composer ( https://github.com/anarchicknight/react-native-message-composer ), however I followed the installation instructions, correctly bound them and called the functions, as they were presented in the documents, and nothing happens. It also only supports iOS.

So my question is: does anyone know how to send text messages from a React Native app in a way that supports image attachments for both iOS and Android?

+4
source share
1 answer

, , - npm node_modules . - , , . , -native- Linking api. npm . .

UPDATE: Linking API, , . , Linking API NativeModules.LinkingManager. http://facebook.imtqy.com/react-native/docs/native-modules-ios.html

LinkingManager. , . . , . , React Native.

0

Source: https://habr.com/ru/post/1678054/


All Articles