Please provide the following:
- SDK Version: 3.17.23
- 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.