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
110
Fun with Bluetooth @ Amsterdam JSNation
nielsleenheer
1
160
Fun with Bluetooth @ JSConf Belgium
nielsleenheer
0
100
Fun with Bluetooth @ DevDays Vilnius
nielsleenheer
0
170
Fun with Bluetooth @ Universal JS Day
nielsleenheer
0
460
Fun with Bluetooth @ Amsterdam University of Applied Sciences
nielsleenheer
0
89
Fun with Bluetooth @ FrontendNE 2018
nielsleenheer
0
190
Fun with Bluetooth @ DevFestNL
nielsleenheer
0
160
Fun with Bluetooth @ Halfstack
nielsleenheer
0
120
Other Decks in Programming
See All in Programming
短期間での新規プロダクト開発における「コスパの良い」Goのテスト戦略」 / kamakura.go
n3xem
2
190
週次リリースを実現するための グローバルアプリ開発
tera_ny
1
110
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
9
2.1k
バグを見つけた?それAppleに直してもらおう!
uetyo
0
190
【re:Growth 2024】 Aurora DSQL をちゃんと話します!
maroon1st
0
830
Webエンジニア主体のモバイルチームの 生産性を高く保つためにやったこと
igreenwood
0
340
良いユニットテストを書こう
mototakatsu
11
3.3k
PHPUnitしか使ってこなかった 一般PHPerがPestに乗り換えた実録
mashirou1234
0
360
Go の GC の不得意な部分を克服したい
taiyow
3
890
命名をリントする
chiroruxx
1
470
GitHubで育つ コラボレーション文化 : ニフティでのインナーソース挑戦事例 - 2024-12-16 GitHub Universe 2024 Recap in ZOZO
niftycorp
PRO
0
500
Online-Dokumentation, die hilft: Strukturen, Prozesse, Tools
ahus1
0
100
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
88
5.7k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Practical Orchestrator
shlominoach
186
10k
Docker and Python
trallard
42
3.2k
A better future with KSS
kneath
238
17k
Navigating Team Friction
lara
183
15k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
190
Building an army of robots
kneath
302
44k
Thoughts on Productivity
jonyablonski
68
4.4k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
A Tale of Four Properties
chriscoyier
157
23k
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