laine-hallot / android-webview-worker-repro

Repro of sub worker issue in android webview based on chromium 130.0.6723.58
0 stars 0 forks source link

Web worker issues in Cordova app starting with Chrome update. #1

Open jkovalchik opened 2 weeks ago

jkovalchik commented 2 weeks ago

Hey, sorry, couldn't find an email or anything so I'll ask here. As the title says, my mobile app uses Cordova which uses Chrome's WebView implementation. Anyways, after our tablets in the field auto-updated to Chrome 130.0.6723.58, our app can no longer create web workers to carry out our critical background tasks. I eventually tracked it to this version (I actually noticed the same problem in an earlier version: Chrome Dev v130.0.6710.0) and after some searching came across this repo.

This is a long shot but were you able to find any workarounds? Is this a known bug and a future version of Chrome is in the works that'll fix this?

jkovalchik commented 1 week ago

In case anyone finds this, I've also created a repo similar to this one but it specifically uses Cordova. https://github.com/jkovalchik/webview-worker-test

laine-hallot commented 1 week ago

This is a long shot but were you able to find any workarounds? Is this a known bug and a future version of Chrome is in the works that'll fix this?

Its a bit annoying to set up and not quite the same as proper child workers but you should be able to have the workers send a message back to the main thread telling it to create a worker