esysberlin / esys-flutter-share

A Flutter plugin for sharing files & text with other applications.
Apache License 2.0
130 stars 147 forks source link

Share Image + Text Does not work #65

Open edwin-alvarez opened 4 years ago

edwin-alvarez commented 4 years ago

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

mnshaikna commented 4 years ago

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.

edwin-alvarez commented 4 years ago

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

babaosoftware commented 4 years ago

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.

lucasjbyoung commented 3 years ago

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

rikai-trongpq commented 3 years ago

Any update?

KevinT27 commented 2 years ago

issue is still here...

KevinT27 commented 2 years ago

workaround is @ issue 36

just remove the "text" property

edwin-alvarez commented 2 years ago

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

xang555 commented 2 years ago

same issue

Sumanmatainja066 commented 2 years ago

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