When using an audio tag to reproduce sound on a WKWebView, the sound stops shortly after the apps goes to background.
Only happens on iOS 13 (including 13.2 beta).
Sound should continue with the app in background as it did on iOS 12 and older
Sample app reproducing the issue:
(note that the app has background mode enabled for audio and still doesn't prevent from pausing the audio)
It appears that this is due to web audio from the wkwebview not having the same entitlement that safari has for background keeping background proccesses open.
Hello Trent Brown!
Do you mean that it is not an issue ?
Can someone please acknowledge this? It's a new bug, as far as I am aware, introduced with iOS 13 (or possibly more specifically 13.2) and is impacting countless applications and developers worldwide, myself included. Prior to this bug, audio playing on a page viewed in webkit worked perfectly fine, even after backgrounding the app or putting the phone to sleep. We have a significant amount of content that is nearly unusable as a result of this bug.
I am having this issue as well, is there any fix coming soon?
Any news in this issue? It affects ALL hybrid apps that play sounds in background in IOS environment.