dieulot / idevice

Discover which iOS devices are used on your site
https://dieulot.fr/idevice
MIT License
233 stars 11 forks source link

Apple Watch Series 4 #1

Open raspberrytipsnl opened 5 years ago

raspberrytipsnl commented 5 years ago

The Apple Watch series 4 has also WebKit capabilities:

CPU: S4 / width: 320 / height: 568 / dpi @2

So you can add it to the script 😄

--Richard

raspberrytipsnl commented 5 years ago

if (cpu == 'S4') { if (s == '320x568') { return 'Apple watch series 4' } }

dieulot commented 5 years ago

Ha, nice find, thanks.

I wonder if we could differentiate 40 and 44mm (and 38/42 for Series 3) for sites that handle the Watch’s size with <meta name="disabled-adaptations" content="watch">. Probably.

Could you (or anyone else with a Series 3 and/or 4) screenshot everything that’s returned by this page?

Cherry commented 5 years ago

From an S4 44mm:

raspberrytipsnl commented 5 years ago

There is no difference in viewport between the 40 and 44mm version. Series 3 and lower do not have access to webkit.