Stefan Giehl
Stefan Giehl
Your device has a touch display, correct? We currently assume that all devices running windows 10 having touch enabled are tablets as most windows 10 touch devices are tablets
The User-Agent only gives information that it is a Windows 10 and that the device has touch enabled. As most windows tablets and desktop/laptop pcs are not sending device information...
most other non desktop os do pass information about the device. These kind of assumption is only done for windows (touch) devices
Same for Windows 8, and maybe other versions of windows that provide the `Touch` fragment for devices with touch display. There are exactly two options for all those devices: -...
I'm not sure how we should handle that best. We could remove move the assumption that all windows devices having the `Touch` fragment are tablets. That would fix the detection...
Google Chrome shouldn't add the `Touch` fragment at all. And even if, device detector would ignore it. It is only relevant for Internet Explorer on Windows devices.
Not sure if that should be detected as `bot`. Whatsapp is an mobile app and it should already be detected as those. I guess the useragent is used when getting...
it should be detected as mobile app. See https://github.com/matomo-org/device-detector/blob/master/regexes/client/mobile_apps.yml#L82-L85
I'll move this on to the device detector repo. If anything can be improved in the detection it needs to be done there.
Did a quick search and seems Librem uses useragents like ``` Mozilla/5.0 (Librem 5, like iPhone; X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Safari/605.1.15 Epiphany/605.1.15 ```