Hey Guys, I have an mp3 file on a remote server and im trying to download it in ionic.
I’ve tried the following so far:
<a href="myurl" download="foo.mp3" target="_self" /> </a> <a href="myurl" download="foo.mp3" target="_blank" /> </a> window.location.assign(url); window.open(url);
None of these get the file to download. i think i have to use the codova FileTransfer plugin but i have no idea how to use it with ionic.
Could anyone help with integrating the FileTransfer plugin or offer an easier solution for this?