react-device-detect
react-device-detect copied to clipboard
isTablet not working for Galaxy Tab A8 SM-X200. Detects as mobile=true
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
Hi!.. I got the same error for Galaxy Tab S8 Ultra. is there some update??
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.
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.maxTouchPointersas an additional criterion to detect tablets.
Sounds like gender nowadays.