WebXDC hangs the OS
- Android version: 9
- Device: Nokia TA-1020
- Delta Chat version: 1.46.14
- Expected behavior: The web app loads and runs
- Actual behavior: The entire device freezes while loading
- Steps to reproduce the problem:
- Start a conversation
- Attach a WebXDC app (tested Calendar and WYSIWYG editor)
- Run it
The bug was introduced after an update of the app from few versions back. It's not present on newer Android versions, though.
hi @anedroid this is likely related to a trick we use to block WebRTC connection in the webxdc apps so they can't connect via webRTC which is not possible to block otherwise than creating a lot of dummy connections, if you trust the app like the editor you could try using ArcaneChat which doesn't apply this trick in favor of faster opening of webxdc, if that doesn't cause the problem for you it will confirm the problem is with this initialization problem
I tried with 1.48.2 but I can't replicate the bug.
I tried with 1.48.2 but I can't replicate the bug.
it is not happening constantly but it can happen some times when you out/in from/to an app often in a short time
I am closing this issue as for now there is nothing we can do, this is related to the FILL500 (create 500 webRTC connections) hack we needed to introduce to block webRTC since the android webview doesn't provide a way to effectively disable this option,
hopefully we come up with another alternative solution in the future like integrating Firefox's GeckoView in Delta Chat or Google eventually might fix this vulnerability they have open for years now