Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
The Android WebView @ PhoneGap Day
Search
Niels Leenheer
May 18, 2015
Programming
0
450
The Android WebView @ PhoneGap Day
PhoneGap Day EU 2015
Niels Leenheer
May 18, 2015
Tweet
Share
More Decks by Niels Leenheer
See All by Niels Leenheer
Fun with Bluetooth @ Frontend United
nielsleenheer
1
100
Fun with Bluetooth @ Amsterdam JSNation
nielsleenheer
1
150
Fun with Bluetooth @ JSConf Belgium
nielsleenheer
0
92
Fun with Bluetooth @ DevDays Vilnius
nielsleenheer
0
160
Fun with Bluetooth @ Universal JS Day
nielsleenheer
0
450
Fun with Bluetooth @ Amsterdam University of Applied Sciences
nielsleenheer
0
75
Fun with Bluetooth @ FrontendNE 2018
nielsleenheer
0
180
Fun with Bluetooth @ DevFestNL
nielsleenheer
0
150
Fun with Bluetooth @ Halfstack
nielsleenheer
0
110
Other Decks in Programming
See All in Programming
Amazon Qを使ってIaCを触ろう!
maruto
0
400
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
130
ペアーズにおけるAmazon Bedrockを⽤いた障害対応⽀援 ⽣成AIツールの導⼊事例 @ 20241115配信AWSウェビナー登壇
fukubaka0825
6
1.9k
型付き API リクエストを実現するいくつかの手法とその選択 / Typed API Request
euxn23
8
2.2k
色々なIaCツールを実際に触って比較してみる
iriikeita
0
330
初めてDefinitelyTypedにPRを出した話
syumai
0
400
よくできたテンプレート言語として TypeScript + JSX を利用する試み / Using TypeScript + JSX outside of Web Frontend #TSKaigiKansai
izumin5210
6
1.7k
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
860
RubyLSPのマルチバイト文字対応
notfounds
0
120
ピラミッド、アイスクリームコーン、SMURF: 自動テストの最適バランスを求めて / Pyramid Ice-Cream-Cone and SMURF
twada
PRO
10
1.3k
Content Security Policy入門 セキュリティ設定と 違反レポートのはじめ方 / Introduction to Content Security Policy Getting Started with Security Configuration and Violation Reporting
uskey512
1
520
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Building Flexible Design Systems
yeseniaperezcruz
327
38k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
The Invisible Side of Design
smashingmag
298
50k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
120
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
How to Think Like a Performance Engineer
csswizardry
20
1.1k
Transcript
the android webview niels leenheer - phonegap day eu 2015
what is a webview? a system level component for
displaying html in applications
up to android 4.3, the webview was based on
webkit android 4.4 and later use a webview based on chromium
the old webkit webview has not been properly updated
in the last four years almost no changes between android 4.0 and 4.3
the webkit webview is slow and has outdated standards support
its standards support can be compared to ios 4 or 5
the chromium webview is not only much faster, it has
much better standards support at the same level or even better standards support as ios 8
the chromium webview will be updated regularly android 4.4
⟶ chromium 30 android 4.4.3 ⟶ chromium 33 android 5 ⟶ chromium 37 or higher
in a couple of years all android phones will have
the chromium webview
but today we still have to deal with the webkit
webview 5 10% 4.4 40% 4.1 - 4.3 39% 4.0 5% 2.2 - 2.3 6%
but unfortunately we are not dealing with just one webkit
webview
device manufacturers improved the default browser differentiation by having better
standards support than your competitors
differentiation is just a pretty name for fragmentation
the reality is that we now have many different webviews
that all behave slightly different not only different versions of webkit, but also different features enabled
better standards support is useless if it is only available
on a subset of devices apps still need to be build for the lowest common denominator
? webgl indexeddb websockets webaudio requestanimationframe form field types
having frequent updates is not always good! removing older
apis and features can cause legacy apps to break
some devices will never get an upgrade to android 5
chromium 30 and 33 based webviews will be around for the next couple of years
bad performance limited standards support vendor specific versions
better standards support limited control
fragmentation
how to deal with this mess
test as often as possible, on as many devices
as possible
perhaps try an open device lab? 144 labs
across 34 countries and 4002 devices available
test as often as possible, on as many devices
as possible
but there is also another solution
crosswalk
None
thank you @html5test