How do you download blob api response in Ionic Android platform

I have an api that return blob file response in my Ionic application and using file-saver.js I am able to download it as pdf when running it on browser, but when I deploy it on android my app wont download the pdf . Is there alternative way to do it? I’m using Ionic 5 with Capacitor .

const response = await this.interactionService.generatePdf(payload).toPromise();

      FileSaver.saveAs(response, `InteractionMonitoring.pdf`);

Super easy with Angular’s HttpClient, as you just specify responseType: "blob", but I get the feeling you’re not using Angular, if any framework at all.