I have an app that needs to send 2 PDF files via MailComposer, but I’m not certain I’m using it right as I only get 1 of the PDF files on the email. The files are stored in my assets folder.
Asset.fromModule(require('<filepath>')).downloadAsync(); to download the files on component mount, and then
Asset.fromModule(require('<filepath>')).localUri to get the local file uri on button click. I do this for both PDF files and add them for use as described in https://docs.expo.io/versions/v27.0.0/sdk/mail-composer.
This works for one file (the first one I have in the array), but not the second.
I’ve tested this on android with both GMail & Inbox.
Is this a bug or am I missing something?