Like the title says, I’m on beta 11 but I’m not sure if this issue existed before then and I just never noticed.
Anyways, I have a page in my app that loads a podcast and uses a plugin called “ionic-audio” to render the player and whatnot. It works perfectly the first time I open the podcast tab/view: when I hit play, my ngif picks up that the track is or isn’t playing and switches the icon to play/pause.
However if I switch to one of my other views/tabs and then return to the podcast one, the NgIf’s aren’t firing (I tested this by putting a breakpoint in a function called by the an NgIf. In every other case, it constantly gets hit. But after I change views and return, the breakpoint no longer gets triggered thus its not updating). Even the progress bar rendered by the audio plugin doesn’t move (which I’m pretty sure also has to do with NgIf). All the audio plays and pauses when I press the buttons, they’re just not toggling/updating.
The issue exits when running “ionic serve” and emulating ios
Here is a github repo I spun up real quick with the relevant files. Let me know if I’m missing something.
Thanks so much!