serbanghita / Mobile-Detect

Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.
http://mobiledetect.net
MIT License
10.55k stars 2.68k forks source link

xiaomi 8pro not detected as mobile #849

Closed Golden-Puma closed 3 years ago

Golden-Puma commented 4 years ago

-------------delete this message-------------

Issue description

User-Agent(s)

Suggestions

Golden-Puma commented 4 years ago

@version 2.8.34 This is a computer. Your UA is Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/71.0.3578.141 Safari/534.24 XiaoMi/MiuiBrowser/12.6.6-gn

DrLightman commented 4 years ago

so should it be detected as computer or mobile?

Golden-Puma commented 4 years ago

as desktop

serbanghita commented 3 years ago

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/71.0.3578.141 Safari/534.24 XiaoMi/MiuiBrowser/12.6.6-gn is detected as a computer as it should.