taljacobson / flutter_mailer

A wrapper on top of MFMailComposeViewController from iOS and Mail Intent on android
MIT License
47 stars 39 forks source link

Remove distinction between single and multiple attachments. #23

Closed robindijkhof closed 4 years ago

robindijkhof commented 4 years ago

When a user decides to use Google Drive instead of a mail client to open the intent, the subject becomes the file name. This is obviously incorrect because it removes the extension of the file. Removing these lines solves this problem. I'm not sure why they were there.

taljacobson commented 4 years ago

thank you for the PR.

ill try to check it out soon. to make sure there are no adverse effect, the work flow of adding to google drive is not the main flow this package is design/used for.

robindijkhof commented 4 years ago

I understand, but af er all it is just an Intent with files attached. The user should be able to open that intent what any app that supports the Intent.