File is not getting attached from document location

I am developing an app using capacitor . In that i used capacitor and cordova plugin . I used email composer and filesystem of capacitor. I have created PDF and getting stored in ```
FilesystemDirectory.Documents . Its getting created but when i am attaching in email composer plugin of cordova this file , i am not able to do so . I retrieve its location and when passing this file url .Its not getting attached.

i am stuck ,unable to proceed.Looking forward to solution.
Thanks