-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
chore(deps): upgrade wry from 0.45.0 to v0.52.0, switch to websocket instead of longpoll #4255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Unfortunately we can't upgrade to the newest wry until we find a fix for tauri-apps/wry#1551 That bug just entirely breaks android apps for us which is not great. I think this means we will end up switching to a websocket to send binary data into the the webviews, but that's a more complex fix than just the simple upgrade. |
That's unfortunate indeed. Changing the actual business logic here is a bit over my head and time budget at the moment. Feel free to either close this PR or leave it open as reference in case someone else tries to upgrade wry. |
I wanted to look more into #3961 and tried upgrading wry to see if there was a magical fix in the last 6 version. Sadly, I didn't see a difference in that behavior.
Still, I propose upgrading wry anyway to not fall too far behind. Note that this is a breaking change! The signatures for the handlers we expose in the launch config changed. If it's necessary, this can probably be prevented as the new WebViewId is not used for anything. But since we release 0.7 soon I thought this might as well be included
Please note, I have barely an idea what I'm doing here. I just went through the breaking changes in Wry's changelog and adjusted the code accordingly. I can only verify that a basic app seems to still work as expected on my Linux machine.