Google explains why WebView failed and what it will do to prevent it from happening again

Share on facebook
Share on twitter
Share on linkedin
Share on reddit
Share on email
Share on whatsapp

Google explains why WebView failed and what it will do to prevent it from happening again

March 24 was a busy day on Android: countless applications closed themselves without apparent cause and affecting all types of apps such as Gmail, Google, Outlook or MSA on Xiaomi mobiles. Now Google has explained what happened to webview.

In a concise communication, the company has shared the cause of the incident and the changes you plan to implement in WebView to prevent something similar from happening in the future, and include a “safe mode” for this component.


What went wrong in WebView

Last month, multiple users saw countless applications shutting down for no reason. Later, it was clear that WebView, an Android component that apps can use to display web content, was behind the bug. We knew the culprit, but Google didn’t explain why, although yes How to solve it.

{“videoId”: “x804s4k”, “autoplay”: true, “title”: “APPS CLOSE ONLY IN ANDROID (Gmail, Outlook, Paypal, Google …) So you can fix it”}

Now, a report from the Google Workspace team sheds a bit of light on the matter, and it is that applications from Google’s productivity suite, such as Gmail, were among those affected.

According to this report, the bug was introduced in the technology of experiments and setup, which caused Android applications including WebView to be unstable and end up crashing on affected devices.

How Google will prevent it from happening again

Webviu

When WebView failed, the only way to get affected mobiles to work properly again was to update WebView and / or Google Chrome, but Google has a plan to prevent such a problem from happening again in the future.

To avoid this, the company undertakes to review the deployment policies of the WebView component of the system and its dependencies, incorporating a series of changes in the near future. Perhaps the most promising of these is the creation of a safe mode for WebView, jump when a similar error is detected and avoid last month’s chain of errors. These are the changes:

  • Audit WebView and its related dependencies for production readiness

  • Implement a WebView “Safe Mode” that will handle this kind of configuration error and revert to the last known good state

  • Improve the test of experiments capacity and the deployment process

  • Accelerate update mechanisms for Chrome and WebView through the Play Store

  • Better communication with users during incidents and provide feedback to our partners on the impact and status of incident resolution

Via | 9to5Google


The news

Google explains why WebView failed and what it will do to prevent it from happening again

was originally published in

Engadget Android

for
Ivan Ramirez

.

Google explains why WebView failed and what it will do to prevent it from happening again 1

Google explains why WebView failed and what it will do to prevent it from happening again 2