Browser Plugin is not opening PDF in Android device instead it is asking to download

Hi All,
I have a external API url. When I use that API url in chrome browser, the PDF is opening in browser.
When I tried the same in Android simulator, it is asking to download the PDF instead displaying.
Please suggest as this will be really helpful.

Just to add it - I am able to view pdf in web and IOS using Browser plugin. But this issue is only in Android where the pdf is downloading instead of opening in browser.

Do you have any solution ? i have a same problem

I am trying to open or download a pdf on the device. I have tried FileOpener, InAppBrowser and failed. In the simulator it works, but not on the device. You can share the code or API to open the file. Thank you

I am using Angular 13, Ionic 6 and Capacitor 4