Skip to content
This repository has been archived by the owner on Jul 21, 2022. It is now read-only.

Share Image + Text Does not work #65

Open
edwin-alvarez opened this issue May 10, 2020 · 10 comments
Open

Share Image + Text Does not work #65

edwin-alvarez opened this issue May 10, 2020 · 10 comments
Labels
bug Something isn't working

Comments

@edwin-alvarez
Copy link

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 edwin-alvarez added the bug Something isn't working label May 10, 2020
@mnshaikna
Copy link

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
Copy link
Author

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

@babaosoftware
Copy link

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
Copy link

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

@rikai-trongpq
Copy link

Any update?

@KevinT27
Copy link

issue is still here...

@KevinT27
Copy link

workaround is @ issue 36

just remove the "text" property

@edwin-alvarez
Copy link
Author

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

@xang555
Copy link

xang555 commented Mar 18, 2022

same issue

@Sumanmatainja066
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants