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
480
0
Share
The Android WebView @ PhoneGap Day
PhoneGap Day EU 2015
Niels Leenheer
May 18, 2015
More Decks by Niels Leenheer
See All by Niels Leenheer
Fun with Bluetooth @ Frontend United
nielsleenheer
1
220
Fun with Bluetooth @ Amsterdam JSNation
nielsleenheer
1
270
Fun with Bluetooth @ JSConf Belgium
nielsleenheer
0
180
Fun with Bluetooth @ DevDays Vilnius
nielsleenheer
0
260
Fun with Bluetooth @ Universal JS Day
nielsleenheer
0
550
Fun with Bluetooth @ Amsterdam University of Applied Sciences
nielsleenheer
0
170
Fun with Bluetooth @ FrontendNE 2018
nielsleenheer
0
270
Fun with Bluetooth @ DevFestNL
nielsleenheer
0
250
Fun with Bluetooth @ Halfstack
nielsleenheer
0
210
Other Decks in Programming
See All in Programming
AI活用のコスパを最大化する方法
ochtum
0
380
Don't Prompt Harder, Structure Better
kitasuke
0
650
Offline should be the norm: building local-first apps with CRDTs & Kotlin Multiplatform
renaudmathieu
0
180
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
560
ハンズオンで学ぶクラウドネイティブ
tatsukiminami
0
110
セグメントとターゲットを意識するプロポーザルの書き方 〜採択の鍵は、誰に刺すかを見極めるマーケティング戦略にある〜
m3m0r7
PRO
0
370
Strategy for Finding a Problem for OSS: With Real Examples
kibitan
0
140
Nuxt Server Components
wattanx
0
260
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.3k
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
360
AI時代のPhpStorm最新事情 #phpcon_odawara
yusuke
0
140
L’IA au service des devs : Anatomie d'un assistant de Code Review
toham
0
220
Featured
See All Featured
How GitHub (no longer) Works
holman
316
150k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.4k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Chasing Engaging Ingredients in Design
codingconduct
0
170
Thoughts on Productivity
jonyablonski
76
5.1k
Balancing Empowerment & Direction
lara
5
1k
The Cost Of JavaScript in 2023
addyosmani
55
9.8k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
670
Deep Space Network (abreviated)
tonyrice
0
110
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Skip the Path - Find Your Career Trail
mkilby
1
100
How to build a perfect <img>
jonoalderson
1
5.4k
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