From 8a56cea799c6fb9c66f77ac899f41c42775d9c4e Mon Sep 17 00:00:00 2001 From: Tutik Alexsandr Date: Tue, 29 Mar 2022 19:00:14 +0300 Subject: [PATCH] Detect new brands: YU Fly, VOGA, Haipai, Huagan, TD Tech and Detect devices for several existing brands (#7069) * feat(device) detect new brand YU Fly: F9 feat(device) detect brand OPPO: Reno 3 Pro (PCRT00) feat(device) detect brand Huawei: Smart Watch 2 Sport (LEO-DLXX) * feat(device) detect new brand VOGA: V (55909) feat(device) detect brand Huawei: C3 9.6" (BZA-L00) * feat(device) detect new brand Haipai: Noble S6 feat(device) detect new brand Huagan: HT6 feat(device) detect brand Huawei: Mate S (CRR-UL20, CRR-CL00), Honor X30 Max (KKG-AN70), Honor Magic 5 (MGI-AN00) feat(device) detect brand OnePlus: Nord CE 2 (IV2201), 10 Pro Extreme Edition (NE2210) feat(device) detect brand Vivo: iQOO 9 Pro (V2172A), iQOO U5 (V2165A), Y55s (2021) (V2164A), Y12 Pro (V2163A) feat(device) detect brand ZTE: Blade S30 (9030N), Voyage 20 Pro (9040N) feat(device) detect brand Unihertz: Titan Pocket * feat(device) detect brand Huawei: Honor Play 30 Plus (CMA-AN00) feat(device) detect brand Motorola: Edge S30 (XT2175-2), Moto G51 (XT2171-3) * feat(device) detect new brand TD Tech: N8 Pro (NAT-TN70) feat(device) detect brand Teclast: P20HD (N6H5) feat(device) detect brand ZTE: Axon 11 5G (A2021H), Axon 10s Pro 5G (A2020 SP), Axon 11 SE 5G (9000N), Blade V2021 5G (8012N) feat(device) detect brand Xiaomi: Redmi 10 Prime (2022) (22011119TI), MiTV Q1 (MiTV-MTEQ0) feat(device) detect brand Huawei: Honor Play 5 Vitality (NEW-AN90), Honor X30 (ANY-AN00), Honor Pad V7 10.4" WiFi (KRJ2-W09), Honor Pad V7 10.4" 5G (KRJ2-AN00), Honor Pad V7 Pro 11" WiFi (BRT-W09), Honor Pad V7 Pro 11" 5G (BRT-AN09) --- Parser/Device/AbstractDeviceParser.php | 5 + Tests/fixtures/smartphone-19.yml | 18 - Tests/fixtures/smartphone-29.yml | 604 +++++++++++++++++++++++++ Tests/fixtures/tablet-1.yml | 2 +- Tests/fixtures/tablet-7.yml | 143 +++++- Tests/fixtures/tv-1.yml | 18 + Tests/fixtures/wearable.yml | 18 + regexes/device/mobiles.yml | 136 +++++- 8 files changed, 903 insertions(+), 41 deletions(-) diff --git a/Parser/Device/AbstractDeviceParser.php b/Parser/Device/AbstractDeviceParser.php index a3ae887b4d..35903350af 100644 --- a/Parser/Device/AbstractDeviceParser.php +++ b/Parser/Device/AbstractDeviceParser.php @@ -482,6 +482,7 @@ abstract class AbstractDeviceParser extends AbstractParser '9Z' => 'H96', 'HF' => 'Hafury', 'HA' => 'Haier', + 'XH' => 'Haipai', 'HE' => 'HannSpree', 'HK' => 'Hardkernel', 'HS' => 'Hasee', @@ -514,6 +515,7 @@ abstract class AbstractDeviceParser extends AbstractParser 'WH' => 'Honeywell', 'HP' => 'HP', 'HT' => 'HTC', + 'QZ' => 'Huagan', 'HD' => 'Huadoo', 'HG' => 'Huavi', 'HU' => 'Huawei', @@ -1109,6 +1111,7 @@ abstract class AbstractDeviceParser extends AbstractParser 'T5' => 'TB Touch', 'TC' => 'TCL', 'T0' => 'TD Systems', + 'YY' => 'TD Tech', 'H4' => 'Technicolor', 'Z5' => 'Technika', 'TX' => 'TechniSat', @@ -1242,6 +1245,7 @@ abstract class AbstractDeviceParser extends AbstractParser 'V0' => 'VKworld', 'VM' => 'Vodacom', 'VF' => 'Vodafone', + '7W' => 'VOGA', 'V2' => 'Vonino', '1V' => 'Vontar', 'VG' => 'Vorago', @@ -1305,6 +1309,7 @@ abstract class AbstractDeviceParser extends AbstractParser 'YT' => 'Ytone', 'Y9' => 'YOTOPT', 'Y1' => 'Yu', + 'YF' => 'YU Fly', 'Y0' => 'YUHO', 'YN' => 'Yuno', 'YU' => 'Yuandao', diff --git a/Tests/fixtures/smartphone-19.yml b/Tests/fixtures/smartphone-19.yml index ff1f5a699e..6e073b4646 100644 --- a/Tests/fixtures/smartphone-19.yml +++ b/Tests/fixtures/smartphone-19.yml @@ -3041,24 +3041,6 @@ model: Smart Box v009 os_family: Android browser_family: Chrome -- - user_agent: Mozilla/5.0 (Linux; arm; Android 10; KRJ-W09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 YaApp_Android/20.94.0/apad YaSearchBrowser/20.94.0/apad BroPP/1.0 SA/3 Mobile Safari/537.36 - os: - name: Android - version: "10" - platform: ARM - client: - type: browser - name: Yandex Browser - version: 20.94.0 - engine: Blink - engine_version: "85.0.4183.127" - device: - type: tablet - brand: Huawei - model: Honor Pad V6 - os_family: Android - browser_family: Unknown - user_agent: Mozilla/5.0 (Linux; Android 6.0.1; Lenovo TB-7703X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Mobile Safari/537.36 os: diff --git a/Tests/fixtures/smartphone-29.yml b/Tests/fixtures/smartphone-29.yml index 2792806705..267fc4e8c5 100644 --- a/Tests/fixtures/smartphone-29.yml +++ b/Tests/fixtures/smartphone-29.yml @@ -4933,3 +4933,607 @@ model: Le Fit os_family: Android browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 8.0.0; GIONEE F6 Pro Build/OPR1.170623.032; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.157 Mobile Safari/537.36 + os: + name: Android + version: 8.0.0 + platform: "" + client: + type: browser + name: Chrome Webview + version: 74.0.3729.157 + engine: Blink + engine_version: 74.0.3729.157 + device: + type: smartphone + brand: Gionee + model: F6 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 7.1.2; PCRT00) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.70 Mobile Safari/537.36 + os: + name: Android + version: 7.1.2 + platform: "" + client: + type: browser + name: Chrome Mobile + version: 68.0.3440.70 + engine: Blink + engine_version: 68.0.3440.70 + device: + type: smartphone + brand: OPPO + model: Reno 3 Pro + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 7.1.1; YU FLY F9 Build/NMF26F; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/11.12 baiduboxapp/11.12.0.10 (Baidu; P1 7.1.1) + os: + name: Android + version: 7.1.1 + platform: "" + client: + type: mobile app + name: Baidu Box App + version: 11.12.0.10 + device: + type: smartphone + brand: YU Fly + model: F9 + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 7.0; VOGA 55909 Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/51.0.2704.91 Mobile Safari/537.36 iThunder;thirdChannel_SHOUJIXUNLEI/7.39.0.7882 xl_cloud statusBarHeight/81 statusBarHeightDp/24.0 + os: + name: Android + version: "7.0" + platform: "" + client: + type: browser + name: Chrome Webview + version: 51.0.2704.91 + engine: Blink + engine_version: 51.0.2704.91 + device: + type: smartphone + brand: VOGA + model: V + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 6.0; HUAWEI CRR-UL20 Build/HUAWEICRR-UL20; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/55.0.2883.91 Mobile Safari/537.36 + os: + name: Android + version: "6.0" + platform: "" + client: + type: browser + name: Chrome Webview + version: 55.0.2883.91 + engine: Blink + engine_version: 55.0.2883.91 + device: + type: smartphone + brand: Huawei + model: Mate S + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 6.0; HUAWEI CRR-CL00 Build/HUAWEICRR-CL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/49.0.2623.105 Mobile Safari/537.36 + os: + name: Android + version: "6.0" + platform: "" + client: + type: browser + name: Chrome Webview + version: 49.0.2623.105 + engine: Blink + engine_version: 49.0.2623.105 + device: + type: smartphone + brand: Huawei + model: Mate S + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 6.0; HUAGAN HT6 Build/MRA58K; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/44.0.2403.119 Mobile Safari/537.36 lite baiduboxapp/4.0.0.10 (Baidu; P1 6.0) + os: + name: Android + version: "6.0" + platform: "" + client: + type: mobile app + name: Baidu Box App + version: 4.0.0.10 + device: + type: smartphone + brand: Huagan + model: HT6 + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 6.0; Haipainoble S6 Build/DQ) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.94 Mobile Safari/537.36 + os: + name: Android + version: "6.0" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 45.0.2454.94 + engine: Blink + engine_version: 45.0.2454.94 + device: + type: smartphone + brand: Haipai + model: Noble S6 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 11; KKG-AN70 Build/HONORKKG-AN70; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/75.0.3770.156 Mobile Safari/537.36 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Chrome Webview + version: 75.0.3770.156 + engine: Blink + engine_version: 75.0.3770.156 + device: + type: smartphone + brand: Huawei + model: Honor X30 Max + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 11; IV2201) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.104 Mobile Safari/537.36 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 96.0.4664.104 + engine: Blink + engine_version: 96.0.4664.104 + device: + type: smartphone + brand: OnePlus + model: Nord CE 2 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 12; NE2210) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.98 Mobile Safari/537.36 + os: + name: Android + version: "12" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 97.0.4692.98 + engine: Blink + engine_version: 97.0.4692.98 + device: + type: smartphone + brand: OnePlus + model: 10 Pro Extreme Edition + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 12; MGI-AN00; HMSCore 6.3.0.327) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.105 HuaweiBrowser/12.0.3.310 Safari/537.36 + os: + name: Android + version: "12" + platform: "" + client: + type: browser + name: Huawei Browser Mobile + version: 12.0.3.310 + engine: Blink + engine_version: 92.0.4515.105 + device: + type: smartphone + brand: Huawei + model: Honor Magic 5 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 12; V2172A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.98 Mobile Safari/537.36 + os: + name: Android + version: "12" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 97.0.4692.98 + engine: Blink + engine_version: 97.0.4692.98 + device: + type: smartphone + brand: Vivo + model: iQOO 9 Pro + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 11; ZTE 9030N Build/RP1A.200720.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/87.0.4280.141 Mobile Safari/537.36 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Chrome Webview + version: 87.0.4280.141 + engine: Blink + engine_version: 87.0.4280.141 + device: + type: smartphone + brand: ZTE + model: Blade S30 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 11; ZTE 9040N Build/RP1A.200720.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/76.0.3809.89 Mobile Safari/537.36 T7/13.3 SP-engine/2.41.0 baiduboxapp/13.3.0.11 (Baidu; P1 11) NABar/1.0 + os: + name: Android + version: "11" + platform: "" + client: + type: mobile app + name: Baidu Box App + version: 13.3.0.11 + device: + type: smartphone + brand: ZTE + model: Voyage 20 Pro + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 11; Titan_pocket) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.210 Mobile Safari/537.36 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 90.0.4430.210 + engine: Blink + engine_version: 90.0.4430.210 + device: + type: smartphone + brand: Unihertz + model: Titan Pocket + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 11; SM-F7110) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.74 Mobile Safari/537.36 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 95.0.4638.74 + engine: Blink + engine_version: 95.0.4638.74 + device: + type: phablet + brand: Samsung + model: Galaxy Z Flip 3 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 12; V2165A Build/SP1A.210812.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/91.0.4472.114 Mobile Safari/537.36 + os: + name: Android + version: "12" + platform: "" + client: + type: browser + name: Chrome Webview + version: 91.0.4472.114 + engine: Blink + engine_version: 91.0.4472.114 + device: + type: smartphone + brand: Vivo + model: iQOO U5 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 11; V2164A; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/87.0.4280.141 Mobile Safari/537.36 VivoBrowser/10.5.17.1 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: vivo Browser + version: 10.5.17.1 + engine: WebKit + engine_version: "537.36" + device: + type: smartphone + brand: Vivo + model: Y55s (2021) + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 11; V2163A; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/87.0.4280.141 Mobile Safari/537.36 VivoBrowser/10.5.17.1 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: vivo Browser + version: 10.5.17.1 + engine: WebKit + engine_version: "537.36" + device: + type: smartphone + brand: Vivo + model: Y12 Pro + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 11; XT2175-2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.104 Mobile Safari/537.36 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 96.0.4664.104 + engine: Blink + engine_version: 96.0.4664.104 + device: + type: smartphone + brand: Motorola + model: Edge S30 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 11; XT2171-3 Build/RRYA31.Q3-56-47; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/94.0.4606.85 Mobile Safari/537.36 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Chrome Webview + version: 94.0.4606.85 + engine: Blink + engine_version: 94.0.4606.85 + device: + type: smartphone + brand: Motorola + model: Moto G51 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 11; CMA-AN00; HMSCore 6.2.0.302) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 HuaweiBrowser/11.0.8.305 Mobile Safari/537.36 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Huawei Browser Mobile + version: 11.0.8.305 + engine: Blink + engine_version: 83.0.4103.106 + device: + type: smartphone + brand: Huawei + model: Honor Play 30 Plus + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 10; ZTE A2021H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.96 Mobile Safari/537.36 + os: + name: Android + version: "10" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 78.0.3904.96 + engine: Blink + engine_version: 78.0.3904.96 + device: + type: smartphone + brand: ZTE + model: Axon 11 5G + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 10; ZTE A2020 SP Build/QKQ1.200913.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/68.0.3440.106 Mobile Safari/537.36 AWP/2.0 SogouMSE,SogouMobileBrowser/6.5.11 + os: + name: Android + version: "10" + platform: "" + client: + type: browser + name: Sogou Mobile Browser + version: 6.5.11 + engine: WebKit + engine_version: "537.36" + device: + type: smartphone + brand: ZTE + model: Axon 10s Pro 5G + os_family: Android + browser_family: Safari +- + user_agent: Mozilla/5.0 (Linux; Android 10; ZTE 9000N Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/87.0.4280.101 Mobile Safari/537.36 + os: + name: Android + version: "10" + platform: "" + client: + type: browser + name: Chrome Webview + version: 87.0.4280.101 + engine: Blink + engine_version: 87.0.4280.101 + device: + type: smartphone + brand: ZTE + model: Axon 11 SE 5G + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 10; ZTE 8012N Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/87.0.4280.101 Mobile Safari/537.36 + os: + name: Android + version: "10" + platform: "" + client: + type: browser + name: Chrome Webview + version: 87.0.4280.101 + engine: Blink + engine_version: 87.0.4280.101 + device: + type: smartphone + brand: ZTE + model: Blade V2021 5G + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 11; 22011119TI) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Mobile Safari/537.36 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 92.0.4515.131 + engine: Blink + engine_version: 92.0.4515.131 + device: + type: smartphone + brand: Xiaomi + model: Redmi 10 Prime (2022) + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 10; NAT-TN70; HMSCore 6.3.0.327) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.105 HuaweiBrowser/12.0.3.310 Mobile Safari/537.36 + os: + name: Android + version: "10" + platform: "" + client: + type: browser + name: Huawei Browser Mobile + version: 12.0.3.310 + engine: Blink + engine_version: 92.0.4515.105 + device: + type: smartphone + brand: TD Tech + model: N8 Pro + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 11; MEIZU 18X Build/RKQ1.210614.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/92.0.4515.131 Mobile Safari/537.36 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Chrome Webview + version: 92.0.4515.131 + engine: Blink + engine_version: 92.0.4515.131 + device: + type: smartphone + brand: Meizu + model: 18X + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 11; MEIZU 18s Pro Build/RKQ1.210408.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/76.0.3809.89 Mobile Safari/537.36 T7/13.1 SP-engine/2.39.0 baiduboxapp/13.1.5.13 (Baidu;P1 11) NABar/1.0 + os: + name: Android + version: "11" + platform: "" + client: + type: mobile app + name: Baidu Box App + version: 13.1.5.13 + device: + type: smartphone + brand: Meizu + model: 18s Pro + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 11; NEW-AN90; HMSCore 6.3.0.327) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.105 HuaweiBrowser/12.0.3.310 Mobile Safari/537.36 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Huawei Browser Mobile + version: 12.0.3.310 + engine: Blink + engine_version: 92.0.4515.105 + device: + type: smartphone + brand: Huawei + model: Honor Play 5 Vitality + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 11; ASUS_I005DB) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.96 Mobile Safari/537.36 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 78.0.3904.96 + engine: Blink + engine_version: 78.0.3904.96 + device: + type: smartphone + brand: Asus + model: ROG Phone 5 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 11; ANY-AN00; HMSCore 6.3.0.327) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 HuaweiBrowser/11.0.8.305 Mobile Safari/537.36 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Huawei Browser Mobile + version: 11.0.8.305 + engine: Blink + engine_version: 83.0.4103.106 + device: + type: smartphone + brand: Huawei + model: Honor X30 + os_family: Android + browser_family: Chrome diff --git a/Tests/fixtures/tablet-1.yml b/Tests/fixtures/tablet-1.yml index da469500ff..9ba69e6893 100644 --- a/Tests/fixtures/tablet-1.yml +++ b/Tests/fixtures/tablet-1.yml @@ -8882,7 +8882,7 @@ device: type: tablet brand: Huawei - model: C3 9.6 + model: C3 9.6" WiFi os_family: Android browser_family: Chrome - diff --git a/Tests/fixtures/tablet-7.yml b/Tests/fixtures/tablet-7.yml index 3471a07b77..10a0139640 100644 --- a/Tests/fixtures/tablet-7.yml +++ b/Tests/fixtures/tablet-7.yml @@ -1385,4 +1385,145 @@ model: M7 Plus os_family: Android browser_family: Chrome - +- + user_agent: Mozilla/5.0 (Linux; Android 7.1.2; Readboy_C20Pro Build/N2G47H; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Safari/537.36 netdisk;11.14.6;Readboy_C20Pro;android-android;7.1.2;JSbridge4.4.0;jointBridge;1.1.0; + os: + name: Android + version: 7.1.2 + platform: "" + client: + type: browser + name: Chrome Webview + version: 61.0.3163.98 + engine: Blink + engine_version: 61.0.3163.98 + device: + type: tablet + brand: Readboy + model: C20 Pro + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 7.0; BZA-L00; HMSCore 6.2.0.300) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.105 HuaweiBrowser/12.0.1.300 Safari/537.36 + os: + name: Android + version: "7.0" + platform: "" + client: + type: browser + name: Huawei Browser Mobile + version: 12.0.1.300 + engine: Blink + engine_version: 92.0.4515.105 + device: + type: tablet + brand: Huawei + model: C3 9.6" + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 10; P20HD(N6H5)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.23 Safari/537.36 + os: + name: Android + version: "10" + platform: "" + client: + type: browser + name: Chrome + version: 74.0.3729.23 + engine: Blink + engine_version: 74.0.3729.23 + device: + type: tablet + brand: Teclast + model: P20HD + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; arm; Android 10; KRJ-W09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 YaApp_Android/20.94.0/apad YaSearchBrowser/20.94.0/apad BroPP/1.0 SA/3 Mobile Safari/537.36 + os: + name: Android + version: "10" + platform: ARM + client: + type: browser + name: Yandex Browser + version: 20.94.0 + engine: Blink + engine_version: "85.0.4183.127" + device: + type: tablet + brand: Huawei + model: Honor Pad V6 10.4" WiFi + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 11; KRJ2-W09; HMSCore 6.3.0.327) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 HuaweiBrowser/11.0.8.305 Safari/537.36 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Huawei Browser Mobile + version: 11.0.8.305 + engine: Blink + engine_version: 83.0.4103.106 + device: + type: tablet + brand: Huawei + model: Honor Pad V7 10.4" WiFi + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 11; KRJ2-AN00 Build/HONORKRJ2-AN00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/83.0.4103.106 Mobile Safari/537.36 SP-engine/2.29.0 matrixstyle/0 lite baiduboxapp/5.23.0.11 (Baidu; P1 11) NABar/1.0 + os: + name: Android + version: "11" + platform: "" + client: + type: mobile app + name: Baidu Box App + version: 5.23.0.11 + device: + type: tablet + brand: Huawei + model: Honor Pad V7 10.4" 5G + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 11; BRT-W09; HMSCore 6.2.0.302) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 HuaweiBrowser/11.0.8.305 Safari/537.36 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Huawei Browser Mobile + version: 11.0.8.305 + engine: Blink + engine_version: 83.0.4103.106 + device: + type: tablet + brand: Huawei + model: Honor Pad V7 Pro 11" WiFi + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 11; BRT-AN09; HMSCore 6.3.0.327) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 HuaweiBrowser/11.0.8.305 Safari/537.36 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Huawei Browser Mobile + version: 11.0.8.305 + engine: Blink + engine_version: 83.0.4103.106 + device: + type: tablet + brand: Huawei + model: Honor Pad V7 Pro 11" 5G + os_family: Android + browser_family: Chrome diff --git a/Tests/fixtures/tv-1.yml b/Tests/fixtures/tv-1.yml index f158a78263..5c438a85e8 100644 --- a/Tests/fixtures/tv-1.yml +++ b/Tests/fixtures/tv-1.yml @@ -6033,3 +6033,21 @@ model: TVAP os_family: Android browser_family: Android Browser +- + user_agent: Mozilla/5.0 (Linux; Android 10; MiTV-MTEQ0 Build/QQ2A.200305.004.A1; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.186 Mobile Safari/537.36 + os: + name: Android + version: "10" + platform: "" + client: + type: browser + name: Chrome Webview + version: 74.0.3729.186 + engine: Blink + engine_version: 74.0.3729.186 + device: + type: tv + brand: Xiaomi + model: MiTV Q1 + os_family: Android + browser_family: Chrome diff --git a/Tests/fixtures/wearable.yml b/Tests/fixtures/wearable.yml index 3add24f867..5fd9a874a4 100644 --- a/Tests/fixtures/wearable.yml +++ b/Tests/fixtures/wearable.yml @@ -1302,3 +1302,21 @@ model: APPLLP2 os_family: Android browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 8.0.0; LEO-DLXX Build/OWDE.180707.001.E1; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/77.0.3865.120 MQQBrowser/6.2 TBS/045714 Mobile Safari/537.36 bwqsh/3.3.6 + os: + name: Android + version: 8.0.0 + platform: "" + client: + type: browser + name: QQ Browser + version: "6.2" + engine: WebKit + engine_version: "537.36" + device: + type: wearable + brand: Huawei + model: Smart Watch 2 Sport + os_family: Android + browser_family: Unknown diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index f6fe1b382a..f541649ab0 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -3518,7 +3518,7 @@ VGO TEL: # Vivo (vivo.com.cn, vivo.com) Vivo: - regex: '((?:VIV-|BBG-)?(?