Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
The Android WebView @ PhoneGap Day
Niels Leenheer
May 18, 2015
Programming
0
430
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
75
Fun with Bluetooth @ Amsterdam JSNation
nielsleenheer
1
70
Fun with Bluetooth @ JSConf Belgium
nielsleenheer
0
60
Fun with Bluetooth @ DevDays Vilnius
nielsleenheer
0
96
Fun with Bluetooth @ Universal JS Day
nielsleenheer
0
270
Fun with Bluetooth @ Amsterdam University of Applied Sciences
nielsleenheer
0
33
Fun with Bluetooth @ FrontendNE 2018
nielsleenheer
0
150
Fun with Bluetooth @ DevFestNL
nielsleenheer
0
120
Fun with Bluetooth @ Halfstack
nielsleenheer
0
74
Other Decks in Programming
See All in Programming
Rust、何もわからない...#6発表資料
ryu19
0
110
CDKでValidationする本当の方法 / cdk-validation
gotok365
1
200
T3 Stack and TypeScript ecosystem
quramy
3
740
Form実装基本を学び直してみた
hyugatsukui
0
240
フロントエンドで 良いコードを書くために
t_keshi
3
1.6k
Listかもしれない
irof
1
240
AWSにおける標的型Bot対策
hacomono
0
410
SwiftPMのPlugin入門 / introduction_to_swiftpm_plugin
uhooi
2
100
[2023년 1월 세미나] 데이터 분석가 되면 어떤 일을 하나요?
datarian
0
580
ポケモンで学ぶiOS 16弾丸ツアー 🚅
giginet
PRO
1
610
Findy - エンジニア向け会社紹介 / Findy Letter for Engineers
findyinc
2
42k
2023年にクル(かもしれない)通信ミドルウェア技術(仮)
s_hosoai
0
190
Featured
See All Featured
Web development in the modern age
philhawksworth
197
9.6k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
15
1.2k
Build your cross-platform service in a week with App Engine
jlugia
221
17k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
120
29k
Fontdeck: Realign not Redesign
paulrobertlloyd
74
4.3k
Typedesign – Prime Four
hannesfritz
34
1.5k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
38
3.6k
Testing 201, or: Great Expectations
jmmastey
25
5.7k
From Idea to $5000 a Month in 5 Months
shpigford
374
44k
Into the Great Unknown - MozCon
thekraken
2
280
Why You Should Never Use an ORM
jnunemaker
PRO
49
7.9k
How STYLIGHT went responsive
nonsquared
89
4.2k
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