Skip to content

Commit

Permalink
Detect new brands: HeadWolf, Great Asia, Zamolxe, ZoomSmart and Detec…
Browse files Browse the repository at this point in the history
…t devices for exist brands (#7349)

* feat(device) detect new brand HeadWolf: HPad2
feat(device) detect brand UMIDIGI: A13 Pro 5G (MP03), A13 Pro Max 5G (MP04), G1 (MP08)
feat(device) detect brand Xiaomi: Redmi Note 11R 5G (22095RA98C)
feat(device) detect brand Vivo: Y01A (V2166)

* feat(device) detect brand Lava: Iris 88 Go, Iris 88 Lite
feat(device) detect brand Iris: IS6 Plus, IS3 Plus
feat(device) detect brand iVooMi: i2 Lite, i2

* feat(device) detect brand Hisense: Hi 1 Pro

* feat(device) detect brand Ulefone: Note 6
feat(device) detect brand CUBOT: Note 9
feat(device) detect brand NOGA: NOGAPAD 7G
feat(device) detect brand Digma: Optima Prime 4 3G (TT7174PG), Optima Prime 3 3G (TS7131MG)

* feat(device) detect new brand Great Asia: E101GCM
feat(device) detect new brand Zamolxe: ZXT-10HL323S, ZXT-10FL323G-PRO
feat(device) detect new brand ZoomSmart: LT600T
feat(device) detect brand Zebra: MC2200, MC93
feat(device) detect brand Konrow: Sky 55
feat(device) detect brand ZTE: Blade A711 (N939Sc)
feat(device) detect brand Yu: Yureka Black
feat(device) detect brand BMXC: M863
feat(device) detect brand Lenovo: Tab V7 (PB-6505Y)
feat(device) detect brand Technopc: UltraPad UP10S36LA
feat(device) detect brand REGAL: TAB 10.1
feat(device) detect brand Redway: 7 Pro

* fix: test
  • Loading branch information
sanchezzzhak authored Feb 14, 2023
1 parent 76d26eb commit 52912e4
Show file tree
Hide file tree
Showing 6 changed files with 977 additions and 27 deletions.
4 changes: 4 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'GR' => 'Gradiente',
'GP' => 'Grape',
'G6' => 'Gree',
'GRA' => 'Great Asia',
'3G' => 'Greentel',
'GF' => 'Gretel',
'82' => 'Gresso',
Expand All @@ -601,6 +602,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'HQ' => 'HERO',
'ZH' => 'Hezire',
'HEX' => 'HexaByte',
'HEW' => 'HeadWolf',
'HL' => 'Hi-Level',
'3H' => 'Hi',
'HIB' => 'Hiberg',
Expand Down Expand Up @@ -1624,6 +1626,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'YX' => 'Yxtel',
'0Z' => 'Zatec',
'2Z' => 'Zaith',
'ZAM' => 'Zamolxe',
'ZEA' => 'Zealot',
'PZ' => 'Zebra',
'ZE' => 'Zeemi',
Expand All @@ -1640,6 +1643,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'ZO' => 'Zonda',
'ZW' => 'Zonko',
'ZP' => 'Zopo',
'ZOO' => 'ZoomSmart',
'ZT' => 'ZTE',
'ZU' => 'Zuum',
'ZY' => 'Zync',
Expand Down
36 changes: 36 additions & 0 deletions Tests/fixtures/peripheral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -966,3 +966,39 @@
model: Smart Slim Plus
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 10; MC2200) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.92 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 96.0.4664.92
engine: Blink
engine_version: 96.0.4664.92
device:
type: peripheral
brand: Zebra
model: MC2200
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 10; MC93) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.78 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 102.0.5005.78
engine: Blink
engine_version: 102.0.5005.78
device:
type: peripheral
brand: Zebra
model: MC93
os_family: Android
browser_family: Chrome
18 changes: 18 additions & 0 deletions Tests/fixtures/phablet-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -753,3 +753,21 @@
model: Redmi Note 9
os_family: Android
browser_family: Android Browser
-
user_agent: Mozilla/5.0 (Linux; Android 12; 22095RA98C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 109.0.0.0
engine: Blink
engine_version: 109.0.0.0
device:
type: phablet
brand: Xiaomi
model: Redmi Note 11R 5G
os_family: Android
browser_family: Chrome
Loading

0 comments on commit 52912e4

Please sign in to comment.