Cant download pdf, csv file to documents ir download on android

I tried my best to download a pdf or csv file to external storage documents or download but couldn’t succeed.

And now that I have a requirement to read a json file from input type=File.

fileReader works well on web but doesn’t work at all on android.

Btw i am using ionic7, capacitor5 with angular 16