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

Share image with text and subject not working #72

Open
sc-ot opened this issue Jul 9, 2020 · 1 comment
Open

Share image with text and subject not working #72

sc-ot opened this issue Jul 9, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@sc-ot
Copy link

sc-ot commented Jul 9, 2020

Describe the bug
The title parameter is empty (for example in an email) and only the text parameter is showing up,

To Reproduce
Steps to reproduce the behavior:

  1. call the Share.file() method
  2. use it with the parameter: await Share.file(
    "Example Tittle",
    'cloud.png',
    imagebytes,
    'image/png',
    text: "Custom Text",
    );
  3. share it with the email app

Expected behavior
Only the text parameter is showing in the email body and the title is still empty.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: Huawai P20 / iPhone 6 a
@sc-ot sc-ot added the bug Something isn't working label Jul 9, 2020
@akashkarli
Copy link

akashkarli commented Aug 8, 2020

hey,

await Share.file(
"Example Title",
'cloud.png',
imagebytes,
'image/png',
text: "Custom Text",
);

in this method have title is share box title not a email title or email subject.
in this package you can share text and images to different appliction e.g whatsapp,instagram and email also but without email subject.

i hope in this package add email subject parameters in optional

if you wanna email subject then use this package
https://pub.dev/packages/flutter_email_sender

WhatsApp Image 2020-08-08 at 19 47 04

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

2 participants