WKWebView not executing JavaScript in backgroud

Hi guys,

I’m pretty sure that WKWebView does not run any javascript calls when the app is running in background on iOS.

In my case, I have an audio player using the cordova media plugin. My app, can’t start a new audio if the app is running in the background on iOS (in a case of a playlist) .

How can we resolve this issue?
I’m also not sure if UIWebView had/has this issue. I’m yet to test.