Error with MailComposer.composeAsync and attachment

Please provide the following:

  1. SDK Version: 36
  2. Platforms: iOS

After upgrade to 12.4.5 (i think) this function don’t work fine on iOS, with a pdf files it work but with .db file i’ve this error…

An exception was thrown while calling ExpoMailComposer.composeAsync with arguments ( { attachments = ( "file:///var/mobile/Containers/Data/Application/C1C6646C-8F10-489F-A4BB-FBCDAAA997F7/Documents/ExponentExperienceData/%2540mgiorgi%252Fapp/SQLite/app.db" ); body = "Text"; recipients = ( "" ); subject = "DEBUG"; } ): *** -[NSPlaceholderString initWithString:]: nil argument

I’ve tryed to copy the file to cache dir but the result is the same… the file exist but the Mail app can’t retrive the file as attachment