Many Android applications offer the use of an integrated browser. Under this name, which is not always clear to everyone, lies the notion of webview.
In this article, I will talk about those I know best, those of Android, but these findings also apply in whole or in part to other platforms: gtk, qt, iOS…
A good tool too often misused
Webviews allow developers to display web pages in their applications. This is sometimes useful, but often developers who use this feature are unfamiliar with it, which has many inconsequential disadvantages for users. Most of the time, a simple link is enough.
Webviews must be used in a controlled environment, in the sense that everything that is displayed must be predictable. It’s non sense to let users browse the web with it, as some applications do.
A poorly integrated tool
Webviews can also deteriorate the user experience because they ignore user preferences. If a user installs one browser rather than another, he has reasons to do so, and by using a webview, you impose a particular browser on him. Android has however an elegant way to solve this problem by offering the user to choose his implementation of webview.
That would be great if there was non-Google implementations, but like this, it looks a bit useless. Furthermore, this option is only an option for developers, which does not make it usable in practice anyway. In the end, preferences, page marks, extensions and all synchronization systems are ignored to the delight of all advertisers and trackers on the web.
A poorly managed tool
Webview implementations changes according to Android versions. In concrete terms, this means that there are several versions of webviews.
Here is the list:
- Android WebKit
- Chromium 37
- Chromium 33
- Chromium 30
For the end user, it is almost impossible to distinguish them. But the code that makes them work is very different.
- different behaviours when interpreting web pages
- a considerably longer test phase for web and Android developers
- updates are complex
As seen previously, it would be possible to add other implementations, but this is not yet a technical reality and even less a reality installed on millions of smart phones.
Webviews are probably too generic and many developers misuse them. However, they still may be interesting in some cases.
As a user, always be wary of applications that embed them. If you can, disable this feature and prefer using double tap on Android’s ▢ button which is like alt+tab.