§ Making WebViews Work for the Web

Making WebViews Work for the Web

Dominique Hazael-Massieux

Copyright © 2021 W3C ® (MIT, ERCIM, Keio, Beihang)

Making WebViews Work for the Web

Dominique Hazaël-Massieux, dom@w3.org, @dontcallmeDOM

TPAC 2021

Goal

Identify what role W3C should play in making WebViews work better for the Web

Logistics

WebViews

Def: Component used in native apps to render content based on Web technologies

Do they matter?

More reach for Web Technologies?

Yes, but

Usages

Web-Native on Android

WebViewCTTWA
All browser features ❌ ✅ ✅
Default browser ❌ ✅ ✅
Browser storage ❌ ✅ ✅
Native APIs ✅ ❌ ❌
Custom rendering ✅ ❌ ❌
Seamless UI ✅ ❌ ✅
Web-safe ❌ ✅ ✅
Target content Curated Any 🔒Own

Web-Native on iOS

UIWKSFViewASWebAuth
All browser features ❌ ❌ ✅ ?
Default browser ❌ ❌ ❌ ?
Browser storage ❌ ❌ ✅ ✅
Native APIs ✅ ✅ ❌ ?
Custom rendering ✅ ✅ ❌ ❌
Seamless UI ✅ ✅ ❌ ✅?
Web-safe ❌ ❌ ✅ ?
Target content Curated Curated Any Auth

Also on Desktop

Electron apps

W3C & WebViews