Skip to content

Commit

Permalink
Detect new brand Surfans and Detect devices for exist brands (#7706)
Browse files Browse the repository at this point in the history
feat(device) detect brand Vivo: V30 Pro (V2319)
feat(device) detect brand TCL: 40 XE 5G (T609DL)
feat(device) detect brand Huawei: MatePad 10.4" SE WiFi (AGS5-W00)
feat(device) detect brand Wiko: Y62 (W-K610-TVM)
feat(device) detect brand Skyline: 43LST5970
feat(device) detect brand Asano: 43LF8120T 43.0", 43LU8120T 43.0", 43LU8130S 43.0"
feat(device) detect brand Digma: Pro Hit 108E 10.1" (HS1004PL), Kids 1247C (WS1251PL), Kids 8260C (WS8253PL), Kids 8280C (WS8252PL), DM-LED32SBB35, DM-LED24SBB31
feat(device) detect brand Huawei: Honor Magic Vs 5G (FRI-AN00)
feat(device) detect brand CUBOT: Note 23, Note 24
feat(device) detect brand HP: Engage One Pro AIO
feat(device) detect new brand Surfans: Y57A
feat(device) detect brand OPPO: A16k (CPH2351)
feat(device) detect brand Inoi: A151, A62 (A161_Plus)
feat(device) detect brand Motorola: Moto G Go, Moto G Play (2021) (XT2093DL)
feat(device) detect brand PCD Argentina: P63L
feat(device) detect brand CUBOT: Note 30
feat(device) detect brand Blu: F92 E 5G
feat(device) detect brand Stylo: DVK82 Mercury
feat(device) detect brand Vivo: Y51A
feat(device) detect brand Teclast: P80T, P30S
feat(device) detect brand ONN: 100071481A
feat(device) detect brand YOTOPT: Y61 (Y61-EEA)
feat(device) detect brand AllDocube: iPlay 50 Pro
feat(device) detect brand Hiberg: 43Y UHD-R, 50Y UHD-R
feat(device) detect brand Hyundai: H-LED50BU7003
feat(device) detect brand Hartens: HTY-24HDRO6B-HC22, HTY-24HDRO6W-HC22, HTY-32FHD06B-HA22,  HTY-32HDR06B-S2-T9, HTY-32HDR06G-HK22, HTY-32HDRO6G-HK22, HTY-43F11B-VS, HTY-43FHDO6G-HC22, HTY-50U11S-VD, HTY-55U11B-VS, HTY-55U11S-VD, HTY-22FHDO6W-HC22, HTY-24H06B-VZ, HTY-24HDR06B-S2-T9,
feat(device) detect brand Glofiish: G Pad Air
feat(device) detect brand Digma: Optima 1304C 4G (TS1292PL)
feat(device) detect brand BAFF: 40Y FHD
feat(device) detect brand Sharp: Aquos TVE19A, Aquos TVE21F
feat(device) detect brand Huawei: Nova 12 (BLK-AL00), Pura 70 Pro+ (HBN-AL10), Watch 4 (ARC-AL00)
feat(device) detect brand Xiaomi: 14 Pro Ti, 13 Ultra
feat(device) detect brand LT Mobile: M60 (LT_9902)
feat(device) detect brand TCL: 403 (T431Q)
  • Loading branch information
sanchezzzhak authored Jun 10, 2024
1 parent 67ae111 commit a2535ff
Show file tree
Hide file tree
Showing 12 changed files with 1,487 additions and 42 deletions.
1 change: 1 addition & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -1550,6 +1550,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'69' => 'Stylo',
'9S' => 'Sugar',
'SUR' => 'Surge',
'SUF' => 'Surfans',
'06' => 'Subor',
'SZ' => 'Sumvision',
'0H' => 'Sunstech',
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9709,3 +9709,21 @@
model: GP70 2OD
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 11; HP Engage One Pro AIO System) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.87 Safari/537.36
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: Chrome
version: 97.0.4692.87
engine: Blink
engine_version: 97.0.4692.87
device:
type: desktop
brand: HP
model: Engage One Pro AIO
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 @@ -4570,3 +4570,39 @@
model: Redmi Note 12R
os_family: Android
browser_family: Android Browser
-
user_agent: Mozilla/5.0 (Linux; U; Android 14; en-US; SM-F946W Build/UP1A.231005.007) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.58 UCBrowser/13.7.0.1319 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ""
client:
type: browser
name: UC Browser
version: 13.7.0.1319
engine: Blink
engine_version: 100.0.4896.58
device:
type: phablet
brand: Samsung
model: Galaxy Z Fold 5
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; U; Android 13; en-gb; Redmi Note 12R Pro Build/TKQ1.221013.002) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/112.0.5615.136 Mobile Safari/537.36 XiaoMi/MiuiBrowser/14.9.1-gn
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: MIUI Browser
version: 14.9.1
engine: Blink
engine_version: 112.0.5615.136
device:
type: phablet
brand: Xiaomi
model: Redmi Note 12R Pro
os_family: Android
browser_family: Android Browser
18 changes: 18 additions & 0 deletions Tests/fixtures/portable_media_player.yml
Original file line number Diff line number Diff line change
Expand Up @@ -933,3 +933,21 @@
model: R6 Gen III
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 11; Y57A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: Chrome
version: 87.0.4280.141
engine: Blink
engine_version: 87.0.4280.141
device:
type: portable media player
brand: Surfans
model: Y57A
os_family: Android
browser_family: Chrome
2 changes: 1 addition & 1 deletion Tests/fixtures/smartphone-27.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2748,7 +2748,7 @@
device:
type: smartphone
brand: Vivo
model: Y51
model: Y51A
os_family: Android
browser_family: Unknown
-
Expand Down
Loading

0 comments on commit a2535ff

Please # to comment.