Closed Thomr77 closed 2 years ago
How can somebody uninstall the WebView 105? I would like to know so my apps that uses blazor hybrid can at least work for a day until its fixed.
https://play.google.com/store/apps/details?id=com.google.android.webview&hl=en_US&gl=US
Then tap Uninstall.
As imperfect a solution as this is it does work very well. We pushed an update to production yesterday that checks the system webview version on startup and displays an alternate view if it has the offending version "105.0.5195.79". I realize 106 beta doesn't work either, but I didn't want to cast the version net too wide for when a fix comes out.
This alternate view explains the issue, and gives a link to the webview on the play store and a way to exit the app. Obviously hoping that this is very short lived, but it does look better than an unresponsive app with no explanation, and mounting support calls. This view was built with native controls (obviously) so that the buttons work.
EDIT: I imagine after they do release a fix we'll keep this alternate view, but change the text to indicate that they should update their webview to a later version rather than uninstall. That should pick up any stragglers that come late to the party.
Update: This issue will be fixed in Webview version 105.0.5195.136. Currently, newest Webview version is 105.0.5195.124 , I guess we will need to wait for 3-7 days to receive 105.0.5195.136 update.
Man, this got resolved speedily by Google. I was fearing the worst...
It has just made the WebView 105.0.5195.136 available on our Samsung SM-T870 and installed it, and it is all working well again!!
Thank you all very much!!
Now that it looks like the fix for the bug in Android is starting to go public (per https://issuetracker.google.com/issues/245837736), I am closing this issue.
Thank you everyone here, at Google, and my Microsoft colleagues for such a quick response!
How do I get the latest update from google? When I go to the google play store, still shows September 5 which is the version with the bug.
How do I get the latest update from google? When I go to the google play store, still shows September 5 which is the version with the bug.
Perhaps it's a gradual roll-out? The best place to ask would be on the Google Issue Tracker because the release is coming from them.
How do I get the latest update from google? When I go to the google play store, still shows September 5 which is the version with the bug.
Perhaps it's a gradual roll-out? The best place to ask would be on the Google Issue Tracker because the release is coming from them.
You can download the update via Google Play Store. I've just done it and can confirm the latest update fixes the problem.
Description
On Android Devices (API 31) where the Android System WebView has been updated to 105.x, Maui-Blazor apps stop responding when interacting with them for a few seconds after launch.
Once interaction has stopped, some basic browser functionality is still available (e.g. scrolling the page or button state changes) but anything that involves JavaScript fails (callbacks etc).
Once the 105.x WebView is uninstalled the Maui-Blazor apps work correctly again.
We have just noticed this first on a Samsung SM-T870 tablet on Friday where the new WebView was installed but also later on other Android devices.
Update: We have also tried WebView 106 Beta which shows the same issue as 105.
Steps to Reproduce
Note: The failing point seems to be linked to how much JavaScript interaction there is - Apps that have more heavy usage will fail pretty much immediately post launch.
Link to public reproduction project repository
https://github.com/Thomr77/MauiBlazorWebView105
Version with bug
6.0.486 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android API 31 With Android System WebView 105.x and 106.x Beta.
Did you find any workaround?
None.
Relevant log output
Failing is linked to Output: [lazorwebview10] Explicit concurrent copying GC freed 31190(2115KB) AllocSpace objects, 0(0B) LOS objects, 64% free, 3380KB/9524KB, paused 21us,22us total 7.232ms