File.writefile blob from API rest service

Hi, we have this API rest service that returns a generic file (may be a pdf, an image and so on) as ‘data’.
We import ‘file’ from ‘@ionic-native/File/ngx’;

getFileFromService().subscribe(async data => {
try {
const fileName = ‘downloadedFile’;
const blob = new Blob([data], { type: ‘application/octet-stream’ });
this.file.writeFile(this.file.externalRootDirectory + ‘Download’, fileName, blob, {replace: true, append: false});
} catch (err) {

}, error => {


On Android device if the file is small no problem, but if the file is big the downloaded file size is always 1024 KB.

Some idea?

Thank you!

So for those who have the same problem, it seems to be just a Windows issue: the file is completely downloaded but the window opened on the download folder of the tablet does not show more than 1024 KB.
The update with F5 does not work but after disconnecting and then reconnecting the device, Windows will show the correct file size!