From c6cb44b6f81841b69e8a1502c88df55e952b00ce Mon Sep 17 00:00:00 2001 From: Tutik Alexsandr Date: Thu, 3 Oct 2024 13:27:58 +0300 Subject: [PATCH] Detect new brands: CPDEVICE, Korax, XPPen and Detect devices for exist brands (#7855) * feat(device) detect brand Google: Pixel 4a (5G) (G025E) feat(device) detect brand OPPO: A3 5G (CPH2693) * feat(device) detect new brand CPDEVICE: Apollo 10 Pro feat(device) detect brand OPPO: K12x 5G (CPH2667), A3x (CPH2641) feat(device) detect brand OnePlus: Nord 4 (CPH2661, CPH2663) feat(device) detect brand MobiWire: Smart P24 feat(device) detect brand Vivo: V17 Neo (1907_19) feat(device) detect brand Casper: VIA L40 feat(device) detect brand Huawei: MatePad SE 11 WiFi (AGS6-W09), MatePad SE 11 (AGS6-L09), MatePad T10s (AGS3-AL09) * feat(device) detect brand Pico: A8110 ref #7854 * feat(device) detect brand Xiaomi: Redmi Note 8 (2021) (biloba) feat(device) detect brand Blu: View 5 (B160V) feat(device) detect brand iHunt: Titan P10000 Pro feat(device) detect brand iTel: Vision 2 * feat(device) detect new brand XPPen: Magic Drawing Pad feat(device) detect new brand Korax: Eurobox feat(device) detect brand Xiaomi: Redmi Note 7 (M1901F7G), Redmi 7A (M1903C3EG) feat(device) detect brand Vivo: Y85A, Y85, Y83A, Y71, Y71A feat(device) detect brand Maze Speed: M1582C Max feat(device) detect brand Dragon Touch: Y88X Plus feat(device) detect brand Vorcom: Quartz Pro feat(device) detect brand Lenovo: Vibe K5 (A6020l37), Vibe K5 Plus (A6020a46) feat(device) detect brand Huawei: Nova 5T (Yale-L71A, Yale-L61D), Honor Play 3, Honor 9X Pro, Honor 9X, Honor 8S, Honor 8A, Honor 20, Honor 10I * feat(client) remove default engine from Wolvic browser feat(client) added multy browser family for Wolvic browser --- Parser/Client/Browser.php | 10 +- Parser/Device/AbstractDeviceParser.php | 3 + Tests/fixtures/car_browser.yml | 18 + Tests/fixtures/phablet-1.yml | 36 ++ Tests/fixtures/smartphone-40.yml | 558 +++++++++++++++++++++++++ Tests/fixtures/tablet-11.yml | 126 ++++++ Tests/fixtures/tv-4.yml | 18 + Tests/fixtures/wearable.yml | 18 + regexes/client/browsers.yml | 2 - regexes/device/mobiles.yml | 115 +++-- 10 files changed, 866 insertions(+), 38 deletions(-) diff --git a/Parser/Client/Browser.php b/Parser/Client/Browser.php index 8270bab973..5da05b63aa 100644 --- a/Parser/Client/Browser.php +++ b/Parser/Client/Browser.php @@ -774,7 +774,7 @@ class Browser extends AbstractClientParser 'FB', 'FE', 'AX', 'FM', 'FR', 'FY', 'GZ', 'I4', 'IF', 'IW', 'LH', 'LY', 'MB', 'MN', 'MO', 'MY', 'OA', 'OS', 'PI', 'PX', 'QA', 'S5', 'SX', 'TF', 'TO', 'WF', 'ZV', - 'FP', 'AD', 'WL', '2I', 'P9', 'KJ', 'WY', 'VK', 'W5', + 'FP', 'AD', '2I', 'P9', 'KJ', 'WY', 'VK', 'W5', '7C', 'N7', 'W7', '8P', ], 'Internet Explorer' => ['IE', 'CZ', 'BZ', 'IM', 'PS', '3A', '4A', 'RN'], @@ -1097,6 +1097,14 @@ public function parse(): ?array $engineVersion = ''; } + if ('Wolvic' === $name && 'Blink' === $engine) { + $family = 'Chrome'; + } + + if ('Wolvic' === $name && 'Gecko' === $engine) { + $family = 'Firefox'; + } + return [ 'type' => 'browser', 'name' => $name, diff --git a/Parser/Device/AbstractDeviceParser.php b/Parser/Device/AbstractDeviceParser.php index 578204c3b4..dfebda9659 100644 --- a/Parser/Device/AbstractDeviceParser.php +++ b/Parser/Device/AbstractDeviceParser.php @@ -318,6 +318,7 @@ abstract class AbstractDeviceParser extends AbstractParser 'G3' => 'CG Mobile', '37' => 'CGV', 'CP' => 'Captiva', + 'CPD' => 'CPDEVICE', 'CF' => 'Carrefour', 'CA1' => 'Carbon Mobile', 'CS' => 'Casio', @@ -967,6 +968,7 @@ abstract class AbstractDeviceParser extends AbstractParser 'KR' => 'Koridy', 'XK' => 'Koslam', 'K2' => 'KRONO', + 'KRX' => 'Korax', 'KE' => 'Krüger&Matz', '5K' => 'KREZ', 'WK' => 'KRIP', @@ -1969,6 +1971,7 @@ abstract class AbstractDeviceParser extends AbstractParser 'XN' => 'Xion', 'XO' => 'Xolo', 'XR' => 'Xoro', + 'XPP' => 'XPPen', 'XRL' => 'XREAL', 'XS' => 'Xshitou', 'XSM' => 'Xsmart', diff --git a/Tests/fixtures/car_browser.yml b/Tests/fixtures/car_browser.yml index 682c121354..be17a8e8fd 100644 --- a/Tests/fixtures/car_browser.yml +++ b/Tests/fixtures/car_browser.yml @@ -1043,3 +1043,21 @@ model: CarPad os_family: Android browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 9; APOLLO10 PRO) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.96 Mobile Safari/537.36 + os: + name: Android + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 78.0.3904.96 + engine: Blink + engine_version: 78.0.3904.96 + device: + type: car browser + brand: CPDEVICE + model: Apollo 10 Pro + os_family: Android + browser_family: Chrome diff --git a/Tests/fixtures/phablet-1.yml b/Tests/fixtures/phablet-1.yml index bd1922ea7f..377ffa8810 100644 --- a/Tests/fixtures/phablet-1.yml +++ b/Tests/fixtures/phablet-1.yml @@ -5508,3 +5508,39 @@ model: Honor Magic V3 os_family: Android browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 14; biloba) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Mobile Safari/537.36 + os: + name: Android + version: "14" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 129.0.0.0 + engine: Blink + engine_version: 129.0.0.0 + device: + type: phablet + brand: Xiaomi + model: Redmi Note 8 (2021) + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 12; M1901F7G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Mobile Safari/537.36 + os: + name: Android + version: "12" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 125.0.0.0 + engine: Blink + engine_version: 125.0.0.0 + device: + type: phablet + brand: Xiaomi + model: Redmi Note 7 + os_family: Android + browser_family: Chrome diff --git a/Tests/fixtures/smartphone-40.yml b/Tests/fixtures/smartphone-40.yml index 5c83540d80..3d7a937d74 100644 --- a/Tests/fixtures/smartphone-40.yml +++ b/Tests/fixtures/smartphone-40.yml @@ -7096,3 +7096,561 @@ model: N40 Pro os_family: Android browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 14; G025E) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36 + os: + name: Android + version: "14" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 120.0.0.0 + engine: Blink + engine_version: 120.0.0.0 + device: + type: smartphone + brand: Google + model: Pixel 4a (5G) + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 14; CPH2693) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Mobile Safari/537.36 + os: + name: Android + version: "14" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 128.0.0.0 + engine: Blink + engine_version: 128.0.0.0 + device: + type: smartphone + brand: OPPO + model: A3 5G + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 14; CPH2667) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Mobile Safari/537.36 + os: + name: Android + version: "14" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 128.0.0.0 + engine: Blink + engine_version: 128.0.0.0 + device: + type: smartphone + brand: OPPO + model: K12x 5G + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 14; CPH2661) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Mobile Safari/537.36 + os: + name: Android + version: "14" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 128.0.0.0 + engine: Blink + engine_version: 128.0.0.0 + device: + type: smartphone + brand: OnePlus + model: Nord 4 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 14; CPH2663) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Mobile Safari/537.36 + os: + name: Android + version: "14" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 129.0.0.0 + engine: Blink + engine_version: 129.0.0.0 + device: + type: smartphone + brand: OnePlus + model: Nord 4 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 14; CPH2641) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Mobile Safari/537.36 + os: + name: Android + version: "14" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 124.0.0.0 + engine: Blink + engine_version: 124.0.0.0 + device: + type: smartphone + brand: OPPO + model: A3x + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 13; Smart_P24 Build/TP1A.220624.014) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.146 Mobile Safari/537.36 + os: + name: Android + version: "13" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 128.0.6613.146 + engine: Blink + engine_version: 128.0.6613.146 + device: + type: smartphone + brand: MobiWire + model: Smart P24 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 11; 1907_19) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 + os: + name: Android + version: "11" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 91.0.4472.101 + engine: Blink + engine_version: 91.0.4472.101 + device: + type: smartphone + brand: Vivo + model: V17 Neo + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 14; Blackview A55 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Mobile Safari/537.36 + os: + name: Android + version: "14" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 117.0.0.0 + engine: Blink + engine_version: 117.0.0.0 + device: + type: smartphone + brand: Blackview + model: A55 Pro + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 14; B160V) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Mobile Safari/537.36 + os: + name: Android + version: "14" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 129.0.0.0 + engine: Blink + engine_version: 129.0.0.0 + device: + type: smartphone + brand: Blu + model: View 5 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 14; iHunt Titan P10000 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Mobile Safari/537.36 + os: + name: Android + version: "14" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 128.0.0.0 + engine: Blink + engine_version: 128.0.0.0 + device: + type: smartphone + brand: iHunt + model: Titan P10000 Pro + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 14; itel Vision 2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Mobile Safari/537.36 + os: + name: Android + version: "14" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 122.0.0.0 + engine: Blink + engine_version: 122.0.0.0 + device: + type: smartphone + brand: iTel + model: Vision 2 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9.0; Yale-L71A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 OPR/77.0.4054.90 + os: + name: Android + version: "9.0" + platform: "" + client: + type: browser + name: Opera Mobile + version: 77.0.4054.90 + engine: Blink + engine_version: 91.0.4472.101 + device: + type: smartphone + brand: Huawei + model: Nova 5T + os_family: Android + browser_family: Opera +- + user_agent: Mozilla/5.0 (Linux; Android 9.0; Yale-L61D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 OPR/77.0.4054.90 + os: + name: Android + version: "9.0" + platform: "" + client: + type: browser + name: Opera Mobile + version: 77.0.4054.90 + engine: Blink + engine_version: 91.0.4472.101 + device: + type: smartphone + brand: Huawei + model: Nova 5T + os_family: Android + browser_family: Opera +- + user_agent: Mozilla/5.0 (Linux; Android 9.0; Honor Play 3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 OPR/77.0.4054.90 + os: + name: Android + version: "9.0" + platform: "" + client: + type: browser + name: Opera Mobile + version: 77.0.4054.90 + engine: Blink + engine_version: 91.0.4472.101 + device: + type: smartphone + brand: Huawei + model: Honor Play 3 + os_family: Android + browser_family: Opera +- + user_agent: Mozilla/5.0 (Linux; Android 9.0; Honor 9x Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 OPR/77.0.4054.90 + os: + name: Android + version: "9.0" + platform: "" + client: + type: browser + name: Opera Mobile + version: 77.0.4054.90 + engine: Blink + engine_version: 91.0.4472.101 + device: + type: smartphone + brand: Huawei + model: Honor 9X Pro + os_family: Android + browser_family: Opera +- + user_agent: Mozilla/5.0 (Linux; Android 9.0; Honor 9x) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 OPR/77.0.4054.90 + os: + name: Android + version: "9.0" + platform: "" + client: + type: browser + name: Opera Mobile + version: 77.0.4054.90 + engine: Blink + engine_version: 91.0.4472.101 + device: + type: smartphone + brand: Huawei + model: Honor 9X + os_family: Android + browser_family: Opera +- + user_agent: Mozilla/5.0 (Linux; Android 9.0; Honor 8S) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 OPR/77.0.4054.90 + os: + name: Android + version: "9.0" + platform: "" + client: + type: browser + name: Opera Mobile + version: 77.0.4054.90 + engine: Blink + engine_version: 91.0.4472.101 + device: + type: smartphone + brand: Huawei + model: Honor 8S + os_family: Android + browser_family: Opera +- + user_agent: Mozilla/5.0 (Linux; Android 9.0; Honor 8A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 OPR/77.0.4054.90 + os: + name: Android + version: "9.0" + platform: "" + client: + type: browser + name: Opera Mobile + version: 77.0.4054.90 + engine: Blink + engine_version: 91.0.4472.101 + device: + type: smartphone + brand: Huawei + model: Honor 8A + os_family: Android + browser_family: Opera +- + user_agent: Mozilla/5.0 (Linux; Android 9.0; Honor 20) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 OPR/77.0.4054.90 + os: + name: Android + version: "9.0" + platform: "" + client: + type: browser + name: Opera Mobile + version: 77.0.4054.90 + engine: Blink + engine_version: 91.0.4472.101 + device: + type: smartphone + brand: Huawei + model: Honor 20 + os_family: Android + browser_family: Opera +- + user_agent: Mozilla/5.0 (Linux; Android 9.0; Honor 10i) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 OPR/77.0.4054.90 + os: + name: Android + version: "9.0" + platform: "" + client: + type: browser + name: Opera Mobile + version: 77.0.4054.90 + engine: Blink + engine_version: 91.0.4472.101 + device: + type: smartphone + brand: Huawei + model: Honor 10I + os_family: Android + browser_family: Opera +- + user_agent: Mozilla/5.0 (Linux; Android 8.1.0; Y85A Build/OPM1.171019.011) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 OPR/77.0.4054.90 + os: + name: Android + version: 8.1.0 + platform: "" + client: + type: browser + name: Opera Mobile + version: 77.0.4054.90 + engine: Blink + engine_version: 91.0.4472.101 + device: + type: smartphone + brand: Vivo + model: Y85A + os_family: Android + browser_family: Opera +- + user_agent: Mozilla/5.0 (Linux; Android 8.1.0; Y85 Build/OPM1.171019.011) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Mobile Safari/537.36 + os: + name: Android + version: 8.1.0 + platform: "" + client: + type: browser + name: Chrome Mobile + version: 73.0.3683.75 + engine: Blink + engine_version: 73.0.3683.75 + device: + type: smartphone + brand: Vivo + model: Y85 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 8.1.0; Y83A Build/O11019) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 OPR/77.0.4054.90 + os: + name: Android + version: 8.1.0 + platform: "" + client: + type: browser + name: Opera Mobile + version: 77.0.4054.90 + engine: Blink + engine_version: 91.0.4472.101 + device: + type: smartphone + brand: Vivo + model: Y83A + os_family: Android + browser_family: Opera +- + user_agent: Mozilla/5.0 (Linux; Android 8.1.0; Y71 Build/OPM1.171019.011) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 OPR/77.0.4054.90 + os: + name: Android + version: 8.1.0 + platform: "" + client: + type: browser + name: Opera Mobile + version: 77.0.4054.90 + engine: Blink + engine_version: 91.0.4472.101 + device: + type: smartphone + brand: Vivo + model: Y71 + os_family: Android + browser_family: Opera +- + user_agent: Mozilla/5.0 (Linux; Android 8.1.0; Y71A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 OPR/77.0.4054.90 + os: + name: Android + version: 8.1.0 + platform: "" + client: + type: browser + name: Opera Mobile + version: 77.0.4054.90 + engine: Blink + engine_version: 91.0.4472.101 + device: + type: smartphone + brand: Vivo + model: Y71A + os_family: Android + browser_family: Opera +- + user_agent: Mozilla/5.0 (Linux; Android 12; Nokia 8.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.101 Mobile Safari/537.36 + os: + name: Android + version: "12" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 112.0.5615.101 + engine: Blink + engine_version: 112.0.5615.101 + device: + type: smartphone + brand: Nokia + model: "8.3" + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 12; M1903C3EG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Mobile Safari/537.36 + os: + name: Android + version: "12" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 123.0.0.0 + engine: Blink + engine_version: 123.0.0.0 + device: + type: smartphone + brand: Xiaomi + model: Redmi 7A + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 12; M1582C_MAX Build/SP1A.210812.016) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.6478.71 Mobile Safari/537.36 + os: + name: Android + version: "12" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 126.0.6478.71 + engine: Blink + engine_version: 126.0.6478.71 + device: + type: smartphone + brand: Maze Speed + model: M1582C Max + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 5.1.1; A6020l37) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 OPR/77.0.4054.90 + os: + name: Android + version: 5.1.1 + platform: "" + client: + type: browser + name: Opera Mobile + version: 77.0.4054.90 + engine: Blink + engine_version: 91.0.4472.101 + device: + type: smartphone + brand: Lenovo + model: Vibe K5 + os_family: Android + browser_family: Opera +- + user_agent: Mozilla/5.0 (Linux; Android 5.1.1; A6020a46 Build/LMY47V) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 OPR/77.0.4054.90 + os: + name: Android + version: 5.1.1 + platform: "" + client: + type: browser + name: Opera Mobile + version: 77.0.4054.90 + engine: Blink + engine_version: 91.0.4472.101 + device: + type: smartphone + brand: Lenovo + model: Vibe K5 Plus + os_family: Android + browser_family: Opera diff --git a/Tests/fixtures/tablet-11.yml b/Tests/fixtures/tablet-11.yml index b77cde5618..18cbc1c97e 100644 --- a/Tests/fixtures/tablet-11.yml +++ b/Tests/fixtures/tablet-11.yml @@ -9693,3 +9693,129 @@ model: iPlay 60 Mini Pro os_family: Android browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 13; VIA L40) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 + os: + name: Android + version: "13" + platform: "" + client: + type: browser + name: Chrome + version: 108.0.0.0 + engine: Blink + engine_version: 108.0.0.0 + device: + type: tablet + brand: Casper + model: VIA L40 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 10; AGS6-W09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 + os: + name: Android + version: "10" + platform: "" + client: + type: browser + name: Chrome + version: 128.0.0.0 + engine: Blink + engine_version: 128.0.0.0 + device: + type: tablet + brand: Huawei + model: MatePad SE 11 WiFi + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 10; AGS6-L09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 + os: + name: Android + version: "10" + platform: "" + client: + type: browser + name: Chrome + version: 122.0.0.0 + engine: Blink + engine_version: 122.0.0.0 + device: + type: tablet + brand: Huawei + model: MatePad SE 11 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 10; AGS3-AL09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Mobile Safari/537.36 + os: + name: Android + version: "10" + platform: "" + client: + type: browser + name: Chrome Mobile + version: 118.0.0.0 + engine: Blink + engine_version: 118.0.0.0 + device: + type: tablet + brand: Huawei + model: MatePad T10s + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 8.1.0; Y88X__PLUS) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 OPR/77.0.4054.90 + os: + name: Android + version: 8.1.0 + platform: "" + client: + type: browser + name: Opera Mobile + version: 77.0.4054.90 + engine: Blink + engine_version: 91.0.4472.101 + device: + type: tablet + brand: Dragon Touch + model: Y88X Plus + os_family: Android + browser_family: Opera +- + user_agent: Mozilla/5.0 (Linux; Android 12; QuartzPRO Build/QuartzPRO; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/128.0.6613.146 Safari/537.36 + os: + name: Android + version: "12" + platform: "" + client: + type: browser + name: Chrome Webview + version: 128.0.6613.146 + engine: Blink + engine_version: 128.0.6613.146 + device: + type: tablet + brand: Vorcom + model: Quartz Pro + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 12; MagicDrawingPad) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 OPR/84.0.0.0 + os: + name: Android + version: "12" + platform: "" + client: + type: browser + name: Opera + version: 84.0.0.0 + engine: Blink + engine_version: 127.0.0.0 + device: + type: tablet + brand: XPPen + model: Magic Drawing Pad + os_family: Android + browser_family: Opera diff --git a/Tests/fixtures/tv-4.yml b/Tests/fixtures/tv-4.yml index bb94f803e5..34d429a182 100644 --- a/Tests/fixtures/tv-4.yml +++ b/Tests/fixtures/tv-4.yml @@ -2883,3 +2883,21 @@ model: 50LF7010T 50.0" os_family: Android browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 12; KORAX-Eurobox) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.93 Safari/537.36 + os: + name: Android + version: "12" + platform: "" + client: + type: browser + name: Chrome + version: 79.0.3945.93 + engine: Blink + engine_version: 79.0.3945.93 + device: + type: tv + brand: Korax + model: Eurobox + os_family: Android + browser_family: Chrome diff --git a/Tests/fixtures/wearable.yml b/Tests/fixtures/wearable.yml index 128f7c972f..b500fbed9b 100644 --- a/Tests/fixtures/wearable.yml +++ b/Tests/fixtures/wearable.yml @@ -2472,3 +2472,21 @@ model: Neo 3 os_family: Android browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 10; A8110) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Mobile VR Wolvic/1.0 + os: + name: Android + version: "10" + platform: "" + client: + type: browser + name: Wolvic + version: "1.0" + engine: Blink + engine_version: "124.0.0.0" + device: + type: wearable + brand: Pico + model: A8110 + os_family: Android + browser_family: Chrome diff --git a/regexes/client/browsers.yml b/regexes/client/browsers.yml index 351117be01..77cd1ada1a 100644 --- a/regexes/client/browsers.yml +++ b/regexes/client/browsers.yml @@ -1354,8 +1354,6 @@ - regex: 'Wolvic/(\d+\.[.\d]+)' name: 'Wolvic' version: '$1' - engine: - default: 'Gecko' # Firefox Reality (https://mixedreality.mozilla.org/firefox-reality/) - regex: 'Mobile VR.+Firefox' diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index 1d2248e776..80b6e5e333 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -3994,7 +3994,7 @@ GDL: # Blu Blu: - regex: 'BLU[ _]|(?:blu|(?