duskload / react-device-detect

Detect device, and render view according to detected device type.
MIT License
2.82k stars 155 forks source link

isTablet not working for Galaxy Tab A8 SM-X200. Detects as mobile=true #192

Open bodyahnedko opened 2 years ago

bodyahnedko commented 2 years ago

Library detects tablet Galaxy Tab A8 SM-X200 as mobile.

Device user-agent: "Mozilla/5.0 (Linux; Android 11; SM-X200) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"

Device: Galaxy Tab A8 SM-X200/Chrome

sumyathlaing commented 2 years ago

Hi!.. I got the same error for Galaxy Tab S8 Ultra. is there some update??

hosembafer commented 9 months ago

Same for iPad Pro/Air

I did some research and discovered that there is a new class of "desktop class" browsers and they don't want to be categorized as tablets and identify themselves as desktop devices and it becomes very difficult to distinguish them.

To handle this, we can use navigator.maxTouchPointers as an additional criterion to detect tablets.

rationalthinker1 commented 9 months ago

Same for iPad Pro/Air

I did some research and discovered that there is a new class of "desktop class" browsers and they don't want to be categorized as tablets and identify themselves as desktop devices and it becomes very difficult to distinguish them.

To handle this, we can use navigator.maxTouchPointers as an additional criterion to detect tablets.

Sounds like gender nowadays.