Skip to content

Commit

Permalink
Detect new brand F+ and Detect device for exist brands (#7443)
Browse files Browse the repository at this point in the history
* feat: detect device brand Tecno Mobile: Spark 10 5G (TECNO KI8), Camon 20 Pro 5G (TECNO CK8n)
feat: detect device brand Xiaomi: Civi 1S
feat: detect device brand Majestic: Joe
feat: detect device brand YOTOPT: X109
feat: detect device brand Prestigio: PTV32SS08Z
feat: detect device brand Hartens: HTY-43F06B-VZ
feat: detect device brand Skyline: 43LST5975
feat: detect device brand True: Smart Tab 7.0 QuadCore
feat: detect device brand Lenovo: Yoga Tablet 10 HD (B8080-F), Tab M10 FHD (TB-X605L)
feat: detect device brand Huawei: Honor 90 Lite (CRT-NX1), Nova 11 Pro (GOA-LX9), Nova Y91 (STG-LX1), P30 Lite (MAR-L21MEB)

* feat: detect device brand Tecno Mobile: Camon 18 Premier
feat: detect device brand Casper: VIA X30 Plus
feat: detect device brand Huawei: Honor Play 6C (VNE-AN40), Nova 6 5G
feat: detect device brand Realme: 10 Pro 5G (RMX3660)
feat: detect device brand Lenovo: K9 (L38043)
feat: detect device brand PocketBook: 970
feat: detect device brand Xiaomi: Pad 6 Pro (23046RP50C)
feat: detect device brand iTel: Vision 5 Plus (S662LCN)
feat: detect device brand V-HOME: 43LU1210
feat: detect device brand Hi: VHIX-32F199MSA, 50USY151X
feat: detect device brand DEXP: U65G8000Q, H3218000K, H32I8000K
feat: detect device brand Accesstyle: F32EY1500B
feat: detect device brand BAFF: 32Y STV-R
feat: detect device brand OPPO: RX17 Neo, R15 Dream Mirror, Reno 6, Find X3 Lite

* feat: detect device new brand F+: SH60
feat: detect device brand Google: Pixelbook Go
feat: detect device brand Acer: TravelMate B118-M
feat: detect device brand Xiaomi: Redmi Note 12S, Redmi Note 12, Mi 8 Lite, Redmi 12
feat: detect device brand Huawei: Nova 11 Pro (GOA-AL80)
feat: detect device brand Oukitel: WP21 Ultra, WP22, WP23
feat: detect device brand Unihertz: 8849 Tank 2
feat: detect device brand OPPO: Find X3 Pro
feat: detect device brand AMCV: LE-39ZTHS25
feat: detect device brand Magicsee: Iron+
feat: detect device brand Rombica: Smart Box A2
feat: detect device brand V-HOME: 24LH1211
feat: detect device brand DEXP: U50H8050EG
feat: detect device brand Hartens: HTY-50UHD11B-S2, HTY-24H06W-VZ
feat: detect device brand HIPER: U50YQ2200GR
feat: detect device brand Teclast: P30S
feat: detect device brand Hyundai: H-LED55GU7003, H-LED43FS5003
feat: detect device brand Asus: ZenPad 3 8.0 (P008)
feat: detect device brand Dom.ru: Movix Go
feat: detect device brand Novex: NWX-24H121MSY
feat: detect device brand Horizont: 32LE7052D
feat: detect device brand Vekta: LD-32SR4850BS
feat: detect device brand Tecno Mobile: Camon 20 (TECNO CK6n), Camon 20 Premier 5G (TECNO CK9n)
  • Loading branch information
sanchezzzhak authored Jul 28, 2023
1 parent 871161d commit a17094b
Show file tree
Hide file tree
Showing 8 changed files with 1,430 additions and 44 deletions.
1 change: 1 addition & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'UF' => 'EYU',
'UE1' => 'UE',
'5F' => 'F150',
'FPS' => 'F+',
'F6' => 'Facebook',
'FAC' => 'Facetel',
'FA1' => 'Facime',
Expand Down
36 changes: 36 additions & 0 deletions Tests/fixtures/desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9151,3 +9151,39 @@
model: K50IJ
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; x86_64; Android 11; Google Pixelbook Go) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaSearchBrowser/23.71/apad BroPP/1.0 YaSearchApp/23.71/apad webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "11"
platform: x64
client:
type: browser
name: Yandex Browser
version: "23.71"
engine: Blink
engine_version: 114.0.0.0
device:
type: desktop
brand: Google
model: Pixelbook Go
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; TravelMate B118-M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome
version: 96.0.4664.45
engine: Blink
engine_version: 96.0.4664.45
device:
type: desktop
brand: Acer
model: TravelMate B118-M
os_family: Android
browser_family: Chrome
36 changes: 36 additions & 0 deletions Tests/fixtures/phablet-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1507,3 +1507,39 @@
model: Pova 5
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; U; Android 13; tr-tr; Redmi Note 12S Build/TP1A.220624.014) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/112.0.5615.136 Mobile Safari/537.36 XiaoMi/MiuiBrowser/13.32.0-gn
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: MIUI Browser
version: 13.32.0
engine: WebKit
engine_version: "537.36"
device:
type: phablet
brand: Xiaomi
model: Redmi Note 12S
os_family: Android
browser_family: Android Browser
-
user_agent: Mozilla/5.0 (Linux; U; Android 13; ru-ru; Redmi Note 12 Build/TKQ1.221114.001) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/112.0.5615.136 Mobile Safari/537.36 XiaoMi/MiuiBrowser/13.33.0-gn
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: MIUI Browser
version: 13.33.0
engine: WebKit
engine_version: "537.36"
device:
type: phablet
brand: Xiaomi
model: Redmi Note 12
os_family: Android
browser_family: Android Browser
144 changes: 144 additions & 0 deletions Tests/fixtures/smartphone-36.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9880,3 +9880,147 @@
model: U20
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 13; TECNO KI8 Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/114.0.5735.196 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Webview
version: 114.0.5735.196
engine: Blink
engine_version: 114.0.5735.196
device:
type: smartphone
brand: Tecno Mobile
model: Spark 10 5G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 13; CRT-NX1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 108.0.0.0
engine: Blink
engine_version: 108.0.0.0
device:
type: smartphone
brand: Huawei
model: Honor 90 Lite
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 12; GOA-LX9) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 YaBrowser/23.5.5.61.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.5.5.61.00
engine: Blink
engine_version: 112.0.0.0
device:
type: smartphone
brand: Huawei
model: Nova 11 Pro
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; U; Android 12; ru-ru; Xiaomi Civi 1S Build/SKQ1.211006.001) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/112.0.5615.136 Mobile Safari/537.36 XiaoMi/MiuiBrowser/13.32.0-gn
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: MIUI Browser
version: 13.32.0
engine: WebKit
engine_version: "537.36"
device:
type: smartphone
brand: Xiaomi
model: Civi 1S
os_family: Android
browser_family: Android Browser
-
user_agent: Mozilla/5.0 (Linux; Android 12; STG-LX1; HMSCore 6.11.0.302) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.88 HuaweiBrowser/14.0.0.323 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Huawei Browser Mobile
version: 14.0.0.323
engine: Blink
engine_version: 99.0.4844.88
device:
type: smartphone
brand: Huawei
model: Nova Y91
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 10; MAR-L21MEB) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 91.0.4472.101
engine: Blink
engine_version: 91.0.4472.101
device:
type: smartphone
brand: Huawei
model: P30 Lite
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 13; TECNO CK8n) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 YaBrowser/23.5.6.42.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.5.6.42.00
engine: Blink
engine_version: 112.0.0.0
device:
type: smartphone
brand: Tecno Mobile
model: Camon 20 Pro 5G
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 10; JOE) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 114.0.0.0
engine: Blink
engine_version: 114.0.0.0
device:
type: smartphone
brand: Majestic
model: Joe
os_family: Android
browser_family: Chrome
Loading

0 comments on commit a17094b

Please sign in to comment.