Essentials
Essentials copied to clipboard
[Bug] Email.ComposeAsync()
Description
Steps to Reproduce
Using a Samsung device with Samsung Email Client.
-
Attach binary files to the message
var attachment = new EmailAttachment(path); attachment.ContentType = "application/octet-stream"; message.Attachments.Add(attachment);
-
Create the intent for the email client using Xamarin Essentials: await Email.ComposeAsync(message);
Expected Behavior
Attachment is created and sent with the correct content and size.
Actual Behavior
A 0-Byte file attachment is created and sent. So no content is transferred.
Basic Information
- Version with issue: Xamarin.Essentials 1.7.3
- Last known good version: n/a
- IDE: Visual Studio for Mac 2022 Preview
- Platform Target Frameworks:
- Android: 11.0
- Affected Devices: Samsung Devices
Perhaps not entirely unrelated to #1920.