Android mobile device detection is too broad

According to:

Mobile Android has “Mobile” string in the User-Agent header.

Adding SM-T into the user agent and GT-P makes me uneasy, I wonder if there are ANY examples in the wild of Android Mobile devices that don’t report the word Mobile in the user agent string.

Also, this is the recommendation by Google

https://webmasters.googleblog.com/2011/03/mo-better-to-also-detect-mobile-user.html

As a solution for mobile sites, our Android engineers recommend to specifically detect “mobile” in the User-Agent string as well as “android.”

To me the big question is, are there more 7’’ Android tablet (that are not ideal on the desktop theme) vs 9’'+ ones.

5 « J'aime »