From e83e346ccda6bf543db8ec01c5fd47b4639e6304 Mon Sep 17 00:00:00 2001 From: liviuconcioiu Date: Fri, 24 May 2019 21:44:36 +0200 Subject: [PATCH] Improves detection for various devices (#5963) * Improves detection for various devices Improves detection of Huawei, Samsung devices * Removed Galaxy J8 and Galaxy S10 Removed Galaxy J8 and Galaxy S10 * Changed Maimang 7 to Mate 20 Lite Changed Maimang 7 to Mate 20 Lite --- Tests/fixtures/smartphone-10.yml | 880 +++++++++++++++++++++++++++++++ Tests/fixtures/smartphone-4.yml | 2 +- Tests/fixtures/tablet-3.yml | 20 + regexes/device/mobiles.yml | 62 ++- 4 files changed, 949 insertions(+), 15 deletions(-) diff --git a/Tests/fixtures/smartphone-10.yml b/Tests/fixtures/smartphone-10.yml index 139a3c1d6b..454a796bd6 100644 --- a/Tests/fixtures/smartphone-10.yml +++ b/Tests/fixtures/smartphone-10.yml @@ -159,3 +159,883 @@ model: Blade Force os_family: Android browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 8.1.0; SAMSUNG SM-J610G Build/M1AJQ) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/9.2 Chrome/67.0.3396.87 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "8.1.0" + platform: "" + client: + type: browser + name: Samsung Browser + short_name: SB + version: "9.2" + engine: WebKit + engine_version: "537.36" + device: + type: smartphone + brand: SA + model: GALAXY J6+ + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 9; SM-J400M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "73.0.3683.90" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: SA + model: GALAXY J4 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 7.1.1; SM-J250M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.80 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "7.1.1" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "70.0.3538.80" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: SA + model: GALAXY J2 Pro + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 6.0.1; SM-J106M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "6.0.1" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "73.0.3683.90" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: SA + model: GALAXY J1 mini Prime + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; SM-A105G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.136 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "74.0.3729.136" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: SA + model: GALAXY A10 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-A305FN Build/PPR1.180610.011) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/9.2 Chrome/67.0.3396.87 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Samsung Browser + short_name: SB + version: "9.2" + engine: WebKit + engine_version: "537.36" + device: + type: smartphone + brand: SA + model: GALAXY A30 + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 9; SM-A305F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "71.0.3578.99" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: SA + model: GALAXY A30 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; SM-A305GT) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.112 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "74.0.3729.112" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: SA + model: GALAXY A30 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-A205G Build/PPR1.180610.011) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/9.0 Chrome/67.0.3396.87 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Samsung Browser + short_name: SB + version: "9.0" + engine: WebKit + engine_version: "537.36" + device: + type: smartphone + brand: SA + model: GALAXY A20 + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 9; SM-A105M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "73.0.3683.90" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: SA + model: GALAXY A10 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; SM-A505F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "71.0.3578.99" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: SA + model: GALAXY A50 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; SM-A405FN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "71.0.3578.99" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: SA + model: GALAXY A40 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; SM-A205F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "71.0.3578.99" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: SA + model: GALAXY A20 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; SM-A505G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "71.0.3578.99" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: SA + model: GALAXY A50 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-A305G Build/PPR1.180610.011) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/9.0 Chrome/67.0.3396.87 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Samsung Browser + short_name: SB + version: "9.0" + engine: WebKit + engine_version: "537.36" + device: + type: smartphone + brand: SA + model: GALAXY A30 + os_family: Android + browser_family: Unknown +- + user_agent: Mozilla/5.0 (Linux; Android 9; SM-A505FN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "73.0.3683.90" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: SA + model: GALAXY A50 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; SM-G975F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "73.0.3683.90" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: SA + model: GALAXY S10+ + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; SM-G9750) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "74.0.3729.157" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: SA + model: GALAXY S10+ + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; SM-G975U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.136 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "74.0.3729.136" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: SA + model: GALAXY S10+ + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; SM-G975W) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.136 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "74.0.3729.136" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: SA + model: GALAXY S10+ + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; SM-G970F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "73.0.3683.90" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: SA + model: GALAXY S10e + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; SM-G970U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.136 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "74.0.3729.136" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: SA + model: GALAXY S10e + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 8.0.0; ATU-L42) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "8.0.0" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "73.0.3683.90" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: Y6 Prime (2018) + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 8.1.0; BKK-AL10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "8.1.0" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "70.0.3538.110" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: Honor 8C + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 8.1.0; BKL-L04) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "8.1.0" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "72.0.3626.121" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: Honor View 10 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 4.4.2; CHE-TL00) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "4.4.2" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "73.0.3683.90" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: Honor 4X + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; ELE-L04) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "73.0.3683.90" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: P30 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; ELE-L09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "73.0.3683.90" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: P30 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; ELE-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "70.0.3538.110" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: P30 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 8.0.0; EVA-AL10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.105 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "8.0.0" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "72.0.3626.105" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: P9 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 8.0.0; FIG-AL10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "8.0.0" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "73.0.3683.90" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: Enjoy 7S + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 8.0.0; FLA-AL10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.105 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "8.0.0" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "72.0.3626.105" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: Enjoy 8 Plus + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; HMA-TL00) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.136 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "74.0.3729.136" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: Mate 20 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; HRY-AL00) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "71.0.3578.99" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: Honor 10 Lite + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; JAT-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "70.0.3538.110" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: Honor 8A + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 8.0.0; LON-AL00) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.112 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "8.0.0" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "74.0.3729.112" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: Mate 9 Pro + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; LYA-AL10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "73.0.3683.90" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: Mate 20 Pro + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; PCT-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "73.0.3683.90" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: Honor View 20 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; SNE-AL00) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "73.0.3683.90" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: Mate 20 Lite + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 5.1; TIT-L01) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "5.1" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "73.0.3683.75" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: Y6 Pro + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; VCE-L22) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "73.0.3683.90" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: Nova 4 + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; VOG-L04) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "73.0.3683.90" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: P30 Pro + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; VOG-L09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "71.0.3578.99" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: P30 Pro + os_family: Android + browser_family: Chrome +- + user_agent: Mozilla/5.0 (Linux; Android 9; VOG-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.90 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "9" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "73.0.3683.90" + engine: Blink + engine_version: "" + device: + type: smartphone + brand: HU + model: P30 Pro + os_family: Android + browser_family: Chrome diff --git a/Tests/fixtures/smartphone-4.yml b/Tests/fixtures/smartphone-4.yml index 5770773036..250cd56fa7 100644 --- a/Tests/fixtures/smartphone-4.yml +++ b/Tests/fixtures/smartphone-4.yml @@ -1636,7 +1636,7 @@ device: type: smartphone brand: HU - model: Y6 Prime + model: Y6 Prime (2018) os_family: Android browser_family: Chrome - diff --git a/Tests/fixtures/tablet-3.yml b/Tests/fixtures/tablet-3.yml index aa14c42e96..9a8192390b 100644 --- a/Tests/fixtures/tablet-3.yml +++ b/Tests/fixtures/tablet-3.yml @@ -1759,3 +1759,23 @@ model: Z99 Dual Core os_family: Android browser_family: Android Browser +- + user_agent: Mozilla/5.0 (Linux; Android 6.0; BGO-DL09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.105 Mobile Safari/537.36 + os: + name: Android + short_name: AND + version: "6.0" + platform: "" + client: + type: browser + name: Chrome Mobile + short_name: CM + version: "72.0.3626.105" + engine: Blink + engine_version: "" + device: + type: tablet + brand: HU + model: MediaPad T2 7.0 Pro + os_family: Android + browser_family: Chrome diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index 9bb866f6a2..1c18d54f79 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -3696,7 +3696,7 @@ Hosin: # Huawei Huawei: - regex: '(HW-)?(?:Huawei|Ideos|Honor[ _]?|(?:(?:AGS2|AGS|ALE|ALP|ANE|ARE|ATH|ATU|AUM|BAC|BAH|BG2|BGO|BKL|BLA|BLL|BLN|BND|BTV|CAG|CAM|CAN|CAZ|CHC|CHE[12]|CHM|CLT|CMR|COL|COR|CPN|CRO|CRR|CUN|DIG|DLI|DRA|DUA|DUB|DUK|EDI|EML|EVA|EVR|FDR|FIG|FLA|FRD|G(?:527|620S|621|630|735)|GRA|H[36]0|HMA|HRY|INE|JKM|JMM|JSN|KIW|KOB|LDN|LLD|LND|LON|LUA|LYA|MHA|MYA|NEM|NEO|NXT|PAR|PIC|PLE|PLK|POT|PRA|RIO|RNE|SCC|SCL|SHT|SLA|SNE|STF|TAG|TIT|TNY|TRT|VEN|VIE|VKY|VNS|VTR|WAS|Y(?:221|330|550|6[23]5))-[A-Z]{0,2}[0-9]{1,4}[A-Z]?|H1711|U(?:8230|8500|8661|8665|8667|8800|8818|8860|9200|9508))[);/ ])|hi6210sft|DIG-L21HN' + regex: '(HW-)?(?:Huawei|Ideos|Honor[ _]?|(?:(?:AGS2|AGS|ALE|ALP|ANE|ARE|ATH|ATU|AUM|BAC|BAH|BG2|BGO||BKK|BKL|BLA|BLL|BLN|BND|BTV|CAG|CAM|CAN|CAZ|CHC|CHE[12]?|CHM|CLT|CMR|COL|COR|CPN|CRO|CRR|CUN|DIG|DLI|DRA|DUA|DUB|DUK|EDI|ELE|EML|EVA|EVR|FDR|FIG|FLA|FRD|G(?:527|620S|621|630|735)|GRA|H[36]0|HMA|HRY|INE|JAT|JKM|JMM|JSN|KIW|KOB|LDN|LLD|LND|LON|LUA|LYA|MHA|MYA|NEM|NEO|NXT|PAR|PCT|PIC|PLE|PLK|POT|PRA|RIO|RNE|SCC|SCL|SHT|SLA|SNE|STF|TAG|TIT|TNY|TRT|VCE|VEN|VIE|VKY|VNS|VOG|VTR|WAS|Y(?:221|330|550|6[23]5))-[A-Z]{0,2}[0-9]{1,4}[A-Z]?|H1711|U(?:8230|8500|8661|8665|8667|8800|8818|8860|9200|9508))[);/ ])|hi6210sft|DIG-L21HN' device: 'smartphone' models: - regex: 'U(8230|8661|8667)[);/ ]' @@ -3705,10 +3705,14 @@ Huawei: model: 'Enjoy 5S' - regex: 'DUA-AL00' model: 'Enjoy 7' + - regex: 'FIG-AL10' + model: 'Enjoy 7S' - regex: 'LDN-(?:AL20|TL20)' model: 'Enjoy 8' - regex: 'ATU-AL1' model: 'Enjoy 8e' + - regex: 'FLA-AL10' + model: 'Enjoy 8 Plus' - regex: 'U8500[);/ ]' model: 'Ideos X2' - regex: 'U8510[);/ ]' @@ -3749,7 +3753,7 @@ Huawei: model: 'Ascend Y550' - regex: 'U9508[);/ ]' model: 'Honor 2' - - regex: 'CHE2?-[UT]L00[HM]?|CHE1-CL[12]0|CHE2-L(?:11|23)|Che1-L04' + - regex: 'CHE2?-[UT]L00[HM]?|CHE1-CL[12]0|CHE2-L(?:11|23)|Che1-L04|CHE-TL00' model: 'Honor 4X' - regex: 'CHM-[CUT]L00[HM]?' model: 'Honor Play 4C' @@ -3759,6 +3763,10 @@ Huawei: model: 'Honor V9 Play' - regex: 'BKL-(?:AL00|AL20|AL30|L09|TL10)' model: 'Honor V10' + - regex: 'BKL-L04' + model: 'Honor View 10' + - regex: 'PCT-L29' + model: 'Honor View 20' - regex: '(?:Honor_|HW-)?G621-TL00M?[);/ ]' model: 'G621' - regex: '(?:Honor_|HW-)?H30-(?:C00|L01M?|L02|U10|T00|T10)(?:_TD)?[);/ ]' @@ -3805,6 +3813,8 @@ Huawei: model: 'Honor 7X' - regex: 'FRD-(?:AL[01]0|L0[249]|L1[49])' model: 'Honor 8' + - regex: 'JAT-L29' + model: 'Honor 8A' - regex: 'BKK-(?:AL10|L21|L22|LX2)' model: 'Honor 8C' - regex: 'JSN-L(?:2[123]|42)' @@ -3825,7 +3835,7 @@ Huawei: model: 'Honor 9 Lite' - regex: 'COL-(?:AL[01]0|TL[01]0|L29)' model: 'Honor 10' - - regex: 'HRY-LX[12]' + - regex: 'HRY-(?:AL00|LX[12])' model: 'Honor 10 Lite' - regex: 'CAM-UL00' model: 'Honor Holly 3' @@ -3861,13 +3871,15 @@ Huawei: model: 'Nova 3e' - regex: 'INE-(?:AL00|LX1r|LX[12]|TL00)' model: 'Nova 3i' + - regex: 'VCE-L22' + model: 'Nova 4' - regex: 'WAS-AL00' model: 'Nova Youth' - regex: 'DIG-L01' model: 'Nova Smart' - regex: 'RIO-L03' model: 'GX8' - - regex: 'EVA-L[012]9' + - regex: 'EVA-(?:AL10|L[012]9)' model: 'P9' - regex: 'VNS-L(?:[23]1|62)' model: 'P9 Lite' @@ -3891,6 +3903,10 @@ Huawei: model: 'P20 Lite' - regex: 'CLT-(?:AL0[01]|L(?:04|[02]9))' model: 'P20 Pro' + - regex: 'ELE-L(?:04|09|29)' + model: 'P30' + - regex: 'VOG-L(?:04|09|29)' + model: 'P30 Pro' - regex: 'FIG-L(?:A1|X[123])' model: 'P smart' - regex: 'POT-LX[13]' @@ -3925,10 +3941,10 @@ Huawei: model: 'Y6II' - regex: 'ATU-L(?:11|21|22|X3)' model: 'Y6 (2018)' - - regex: 'TIT-AL00' + - regex: 'TIT-(?:AL00|L01)' model: 'Y6 Pro' - - regex: 'ATU-L31' - model: 'Y6 Prime' + - regex: 'ATU-L(?:31|42)' + model: 'Y6 Prime (2018)' - regex: 'TRT-LX[123]' model: 'Y7 (2017)' - regex: 'LDN-L(?:01|X3)' @@ -3957,7 +3973,7 @@ Huawei: model: 'Mate 9' - regex: 'BLL-L23' model: 'Mate 9 Lite' - - regex: 'LON-L29' + - regex: 'LON-(?:AL00|L29)' model: 'Mate 9 Pro' - regex: 'ALP-(?:AL00|L[02]9)' model: 'Mate 10' @@ -3965,11 +3981,11 @@ Huawei: model: 'Mate 10 Lite' - regex: 'BLA-(?:A09|L[02]9|AL00)' model: 'Mate 10 Pro' - - regex: 'HMA-(?:AL00|L[02]9)' + - regex: 'HMA-(?:[AT]L00|L[02]9)' model: 'Mate 20' - - regex: 'LYA-(?:AL00|L[02]9)' + - regex: 'LYA-(?:AL[01]0|L[02]9)' model: 'Mate 20 Pro' - - regex: 'SNE-LX[0-3]' + - regex: 'SNE-(?:AL00|LX[0-3])' model: 'Mate 20 Lite' - regex: 'EVR-(?:AL00|L29)' model: 'Mate 20 X' @@ -4023,7 +4039,7 @@ Huawei: - regex: 'BGO-L03' device: 'tablet' model: 'MediaPad T2 7.0' - - regex: 'PLE-70[13]L' + - regex: '(?:BGO-DL09|PLE-70[13]L)' device: 'tablet' model: 'MediaPad T2 7.0 Pro' - regex: 'FDR-A01(?:L|w)' @@ -7437,6 +7453,10 @@ Samsung: model: 'GALAXY S9+' - regex: '(?:SAMSUNG-)?SM-G973' model: 'GALAXY S10' + - regex: '(?:SAMSUNG-)?SM-G975[0FUW]' + model: 'GALAXY S10+' + - regex: '(?:SAMSUNG-)?SM-G970[FU]' + model: 'GALAXY S10e' - regex: '(?:SAMSUNG-)?SCH-I200' model: 'GALAXY Stellar' - regex: '(?:SAMSUNG-)?SCH-I829' @@ -7493,12 +7513,24 @@ Samsung: model: 'GALAXY A9 (2018)' - regex: '(?:SAMSUNG-)?SM-A910[0F]' model: 'GALAXY A9 Pro' + - regex: '(?:SAMSUNG-)?SM-A105[GM]' + model: 'GALAXY A10' + - regex: '(?:SAMSUNG-)?SM-A205[FG]' + model: 'GALAXY A20' + - regex: '(?:SAMSUNG-)?SM-A305(?:FN|GT|[FG])' + model: 'GALAXY A30' + - regex: '(?:SAMSUNG-)?SM-A405FN' + model: 'GALAXY A40' + - regex: '(?:SAMSUNG-)?SM-A505(?:FN|[FG])' + model: 'GALAXY A50' - regex: '(?:SAMSUNG-)?GT-I9301I' model: 'GALAXY S III Neo' - regex: '(?:SAMSUNG-)?SM-J100(?:FN|MU|[FHM])' model: 'GALAXY J1' - regex: '(?:SAMSUNG-)?SM-J105(?:B|H)' model: 'GALAXY J1 mini' + - regex: '(?:SAMSUNG-)?SM-J106M' + model: 'GALAXY J1 mini Prime' - regex: '(?:SAMSUNG-)?SM-J120[AFHMT]' model: 'GALAXY J1 (2016)' - regex: '(?:SAMSUNG-)?SM-J110[FHML]' @@ -7507,13 +7539,13 @@ Samsung: model: 'GALAXY J1 Ace' - regex: '(?:SAMSUNG-)?SM-J200[FGHY]' model: 'GALAXY J2' - - regex: '(?:SAMSUNG-)?SM-J2[15]0F' + - regex: '(?:SAMSUNG-)?SM-J(?:210F|250[FM])' model: 'GALAXY J2 Pro' - regex: '(?:SAMSUNG-)?SM-J320(?:FN|[AFGHMNPV])' model: 'GALAXY J3 (2016)' - regex: '(?:SAMSUNG-)?SM-J330(?:F|G)' model: 'GALAXY J3 (2017)' - - regex: '(?:SAMSUNG-)?SM-J400(?:F|G)' + - regex: '(?:SAMSUNG-)?SM-J400[FGM]' model: 'GALAXY J4' - regex: '(?:SAMSUNG-)?SM-J500(?:F|FN|G|Y|M|H)' model: 'GALAXY J5 (2015)' @@ -7525,6 +7557,8 @@ Samsung: model: 'GALAXY J5 Prime' - regex: '(?:SAMSUNG-)?SM-J600[FG]' model: 'GALAXY J6' + - regex: '(?:SAMSUNG-)?SM-J610G' + model: 'GALAXY J6+' - regex: '(?:SAMSUNG-)?SM-J7[01]0(?:8|F|FN|H|K|M|MN)' model: 'GALAXY J7' - regex: '(?:SAMSUNG-)?SM-J700P'