Sharing.shareAsync(url, options)
Opens action sheet to share file to different applications which can handle this type of file.
Arguments url (string) -- Local file URL to share. options (object) -- A map of options: mimeType (string) -- sets mimeType for Intent (Android only) dialogTitle (string) -- sets share dialog title (Android and Web only) UTI (string) -- (Uniform Type Identifier) the type of the target file (iOS only)
This is what they say on their page. I dont see any option to share text message along with a local image. Is there any way to share both the image and text message ?
According to the docs, you should be able to use it like so for Android:
But I would recommend to use
react-native-shareas this is more widely used and has more options for you to experiment with.Hope this helps :)