Open edwin-alvarez opened 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.
I have not try android yet, I'll try tonight, but for sure iPhone is not working
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.
Same issue with iOS, sharing to WhatsApp shares the text, not the image.
Any update?
issue is still here...
in fact, this is not a workaround, I need both. only image or only text was already working
same issue
image with text not supported in skype share. I have use share-plus plugin.
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