Jack Wallen affords up his tackle the latest problem surrounding Android’s WebView.
Up to now couple of days, Android customers discovered themselves in a slightly irritating state of affairs with random functions crashing when hyperlinks have been opened. It seems the difficulty was Android System WebView.
It wasn’t till Android 5 that WebView was moved from the system to exist as an app by itself. At that time, WebView integrated Google’s Secure Looking protections. Then, in Android 8, the WebView renderer was modified to run in an remoted course of, which meant it had restricted entry to assets.
SEE: Samsung Galaxy Unpacked 2020: Galaxy Z Fold2, Samsung Galaxy S20, and extra (free PDF) (TechRepublic)
Merely put, Android WebView permits apps to show internet content material, with out having to open an internet browser. As much as Android 6, WebView was a system service. Then, with Android 7.0, Google integrated that performance into the default Chrome Browser. In fact, in typical Google style, the builders then returned WebView duties again to System WebView for Android 10 and have not modified that conduct since.
For some Android releases, you could possibly safely disable WebView and permit Chrome to deal with these duties, however with all fashionable releases, you can not. Google desires you to make use of WebView for all out-of-browser internet content material viewing.
That is an issue as a result of anytime one thing goes unsuitable with WebView, any time an app must open internet content material (which is usually), it will both crash or the content material merely will not render. I would wish to say it is not such a giant deal; however the reality of the matter is, it’s a massive deal. Android apps rely upon the flexibility to render internet content material. As a result of WebView additionally relies on builders launch apps that cope with this in a safe method, customers are at their mercy.
It must be rethought.
However how? Because it stands, Android places the onus on app builders and customers. Attempt as they may, Google can not seem to get WebView positioned able that provides both neighborhood a dependable resolution to begin with.
This most up-to-date episode with WebView solely proves that.
Though Google did roll out a repair for the difficulty, how many individuals needed to cope with the issue earlier than the patch got here in? As a result of the issue introduced itself in a number of apps, it may have been a critical problem with on-the-go enterprise customers or those that depend on their telephones as a major communication software.
Google can not flip away from the WebView drawback. Given its historical past, we all know one thing else will occur with the system. Since so many apps rely upon WebView, and a lot content material is displayed by the system, the significance of this problem can’t be neglected.
To that finish, Google wants to significantly rethink WebView. It might be too late for Android 12, however as quickly because the builders and designers begin hammering out concepts for the thirteenth launch of the platform, they are going to must put critical time into rethinking and retooling WebView. Because it stands, it is solely a matter of time earlier than a important flaw is exploited in WebView and units fall sufferer to knowledge theft and extra.
I haven’t got the reply to this, however one factor I’ll say is the reply may return to Android 7 and the flexibility to disable WebView, in favor of Chrome. If that is an choice, possibly there is a hybrid model to be thought-about, the place a WebView-like system can cross off the duties to a stripped-down model of Chrome to show the content material.
Google has some critically sensible builders engaged on Android. If given the time and assets, I am sure they will provide you with a workable resolution for the problems caused by WebView.
Till then, customers will probably be on the mercy of this unreliable system. To each person on the market, I would say at any time when you possibly can open hyperlinks or different content material in Chrome, accomplish that. All the time counting on WebView may result in issues.
Fingers crossed Google figures this one out sooner, slightly than later.
Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the newest tech recommendation for enterprise execs from Jack Wallen.