esys-flutter-share icon indicating copy to clipboard operation
esys-flutter-share copied to clipboard

Share Image + Text Does not work

Open edwin-alvarez opened this issue 4 years ago • 10 comments

Describe the bug used the example code provided and tried to send an image + text, the text is not sent to iPhone Messages, but it shows the image. also tried with WhatsApp, Whatsapp shows the text but not the image.

Expected behavior both the text and the image shows get send to the recipient

edwin-alvarez avatar May 10 '20 14:05 edwin-alvarez

I experience the same issue too. However, I can share Image + text in my Android.

Am I missing anything or this needs fix??

It simply doesn't get me the image on WhatsApp share, just the text. No error I can see on the console.

mnshaikna avatar May 10 '20 22:05 mnshaikna

I have not try android yet, I'll try tonight, but for sure iPhone is not working

edwin-alvarez avatar May 11 '20 00:05 edwin-alvarez

Used it like this, to share a jpg image with some text: try { File imageFile = File(_cachedImagePath); Uint8List bytes = imageFile.readAsBytesSync(); await Share.file( '', 'camera.jpg', bytes.buffer.asUint8List(), 'image/jpg', text: 'Optional text'); } catch (e) {}

On Android: works pretty well. The image and the optional text is sent with both email and messenger. One small thing, there is nothing in email subject, even if I fill the title param.

On iPhone: email shows optional text in both subject and body; messenger, only shows image, no optional text.

babaosoftware avatar Jul 02 '20 02:07 babaosoftware

Same issue with iOS, sharing to WhatsApp shares the text, not the image.

lucasjbyoung avatar Dec 14 '20 11:12 lucasjbyoung

Any update?

rikai-trongpq avatar Aug 27 '21 04:08 rikai-trongpq

issue is still here...

KevinT27 avatar Feb 10 '22 14:02 KevinT27

workaround is @ issue 36

just remove the "text" property

KevinT27 avatar Feb 10 '22 15:02 KevinT27

in fact, this is not a workaround, I need both. only image or only text was already working

edwin-alvarez avatar Feb 10 '22 16:02 edwin-alvarez

same issue

xang555 avatar Mar 18 '22 10:03 xang555

image with text not supported in skype share. I have use share-plus plugin.

Sumanmatainja066 avatar Mar 22 '22 09:03 Sumanmatainja066