react-native-mail icon indicating copy to clipboard operation
react-native-mail copied to clipboard

file extension dont found in ios

Open agudeluca opened this issue 6 years ago • 3 comments

in ios doesnt work file extension. image

and this is my code image

agudeluca avatar Oct 04 '18 17:10 agudeluca

I am facing the same issue. I can't see the extension on iOS

softdev8 avatar May 07 '19 20:05 softdev8

@agudeluca I found solutions.

here is my code.

    Mailer.mail (
      {
        subject: 'need help',
        recipients: [''],
        ccRecipients: [''],
        bccRecipients: [''],
        body: '<b>Here is body</b>',
        isHTML: false,
        attachment: {
          path: path,
          type: 'pdf',
          name: 'help.pdf',
        },
      },
      (error, event) => {
        console.log(error)
      }
    );
  };

softdev8 avatar May 09 '19 13:05 softdev8

Thanks @MobileDev418 . You save my all day.

heocon8319 avatar Oct 11 '19 04:10 heocon8319