Not Downloading!

using this anchor in a browser would download the file:

    <a target="_blank" href="my/url/song.mp3" download>Download that song</a>

But using it in ionic wouldn’t download anything!

Any ideas what is causing this?

This probably won’t work like this in a mobile context. Are you getting any errors in a javascript console on the mobile device? What OS are you testing on?

I’m testing on android . Not getting any errors at all just the link doesn’t do anything.

Could the InAppBrowser plugin help in any way ?

Using the InAppBrowser with target “_blank” and “_system” work but they open a new window outside the app which is not the user experience im looking for. WHen i specify the target as “_self” nothing happens and no errors in the console. Works when served on a browser but on the mobile it doesn’t.