It took me a few hours to find out that on ionic 3, asset files are stored on:
this.f.applicationDirectory + “/www/assets/”
while on ionic 5, it changes to:
this.f.applicationDirectory + “/public/assets/”
I couldn’t find anywhere this is documented.
Make sure before you want to play a file, use the File plugin to check where your asset folder is by using:
You can also check if your file really exists using the same plugin.