To download the File to the Download directory you need to use Cordova File Plugin:
import { File } from '@ionic-native/file/ngx';constructor( private file: File, ) { }this.file.writeFile(this.file.externalRootDirectory +'/Download/', user_log.xlsx, blob, { replace: true }).then(() => { alert('File has been downloaded. Please check your downloads folder.') enter code here }, (err) => { alert("Sorry. An error occurred downloading the file: " + err); enter code here }); })
It works in Ionic 4 as well.