-
Notifications
You must be signed in to change notification settings - Fork 497
Closed
Description
(CDY-TN90)
user_agent: Mozilla/5.0 (Linux; Android 10; HarmonyOS; TEST-XXXXX ; HMSCore 6.1.0.314) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.93 HuaweiBrowser/11.1.5.310 Mobile Safari/537.36
device:
type: tablet
brand: ""
model: ""
(vivo Y51A)
user_agent: Mozilla/5.0 (Linux; U; Android 5.1.1; zh-CN; TEST-XXXXX Build/LMY47V) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/78.0.3904.108 Quark/5.3.3.191 Mobile Safari/537.36
device:
type: tablet
brand: ""
model: ""
(vivo X7Plus)
Mozilla/5.0 (Linux; U; Android 7.1.1; zh-cn; TEST-XXXXX Build/NMF26F) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/77.0.3865.120 MQQBrowser/11.2 Mobile Safari/537.36
device:
type: tablet
brand: ""
model: ""
I think that it needs to be corrected somewhere here
device-detector/DeviceDetector.php
Lines 872 to 880 in e992b23
if (null === $this->device && 'Android' === $osFamily | |
&& $this->matchUserAgent('Chrome/[\.0-9]*') | |
) { | |
if ($this->matchUserAgent('Chrome/[\.0-9]* (?:Mobile|eliboM)')) { | |
$this->device = AbstractDeviceParser::DEVICE_TYPE_SMARTPHONE; | |
} elseif ($this->matchUserAgent('Chrome/[\.0-9]* (?!Mobile)')) { | |
$this->device = AbstractDeviceParser::DEVICE_TYPE_TABLET; | |
} | |
} |
Metadata
Metadata
Assignees
Labels
No labels