shareAsync: Share both Image and Text in Android/iOS at the same time

Please provide the following:

  1. SDK Version: 3.17.23
  2. Platforms(Android/iOS/web/all): all

const textShare = async () => {
await Share.share(
{
message: textInputName,
url: selectedImage,
}
).then(({action, activityType}) => {
if(action === Share.sharedAction)
console.log(‘Share was successful’);
else
console.log(‘Share was dismissed’);
});
}

This is my code for Sharing text where the text is textInputName and the image in base64 format is selectedImage

Please let me know if there is any way of sharing both text and image at the same time which works in both Android/iOS.

Thanks in Advance.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.