Skip to content

Commit

Permalink
Detect new brands: GOtv, Moondrop, SWOFY and Detect device for exist …
Browse files Browse the repository at this point in the history
…brands (#7745)

feat(device) detect new brand SWOFY: M503 Pro
feat(device) detect new brand Xiaomi: Redmi Go (M1903C3GI), Redmi K30 4G (M1912G7BE)
feat(device) detect brand XGIMI: Horizon Pro (XK03H)
feat(device) detect new brand GOtv: SEI600GO
feat(device) detect brand Sunmi: V2 Pro ST
feat(device) detect brand Klipad: KL9878AE
feat(device) detect brand Heimat: H65PU2303SVF
feat(device) detect brand POCO: M6
feat(device) detect brand Xiaomi: Redmi K20 (M1903F10I), Redmi 7 (M1810F6LI)
feat(device) detect brand Stylo: Sonic
feat(device) detect brand Hisense: U70 Pro
feat(device) detect brand Huawei: Honor Play 50 5G (JDY-AN00)
feat(device) detect brand Motorola: Edge 5G UW (2021) (XT2141-1), Moto G Stylus 5G (XT2131DL)
feat(device) detect brand OPPO: A74 (CHP2219)
feat(device) detect brand Benco: V91 (AE9310)
feat(device) detect brand Tuvio: STV-32DHBK2R-T9
feat(device) detect new brand Moondrop: MIAD01 (MD-PH-001)
feat(device) detect brand Xiaomi: Redmi Note 9 Pro (M2003J6A1I), Redmi Note 8 (M1908C3JG), Redmi 8A (M1908C3KG), Mi 9 Lite (M1904F3BG)
feat(device) detect brand Lenovo: K12 Pro (XT2091-8)
feat(device) detect brand Logicom: Lunar Pro
feat(device) detect brand VILLAON: V30 RS (V6751L)
feat(device) detect brand Motorola: Moto Razr 40 Ultra (XT2321-3), Moto Razr (2022) (XT2251-1), Moto G51 5G (XT2171-2), Moto G71 5G (XT2169-1), Moto G30 (XT2129-2, XT2129-1, XT2129-3), Moto G10 (XT2127-2), Moto G Play (2021) (XT2093-3, XT2093-7), Moto G53 (XT2335-2), Moto G Stylus 5G (2023) (XT2315-1), Defy (2021) (XT2083-9), Moto G Stylus (2021) (XT2115-1), Moto G52 (XT2221-1), Moto G Stylus 5G (2022) (XT2215-1), Edge 40 (XT2303-2), Moto G Stylus 5G (XT2131-1), Moto G60 (PANB0015IN), Moto G10 Power (PAMR0010IN, PAMR0002IN), Moto G40 Fusion (PANV0009IN)
  • Loading branch information
sanchezzzhak committed Jul 19, 2024
1 parent b264e08 commit cf99fa6
Show file tree
Hide file tree
Showing 8 changed files with 1,002 additions and 32 deletions.
3 changes: 3 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'G0' => 'Goophone',
'6G' => 'Gooweel',
'GOO' => 'GOODTEL',
'GO1' => 'GOtv',
'8G' => 'Gplus',
'GR' => 'Gradiente',
'GRE' => 'Graetz',
Expand Down Expand Up @@ -1075,6 +1076,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'OM' => 'Mintt',
'MIN' => 'Mint',
'MO' => 'Mio',
'MOD' => 'Moondrop',
'X7' => 'Mione',
'M7' => 'Miray',
'MIT' => 'Mitchell & Brown',
Expand Down Expand Up @@ -1589,6 +1591,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'SWI' => 'Switel',
'SS' => 'SWISSMOBILITY',
'1W' => 'Swisstone',
'SWO' => 'SWOFY',
'SSK' => 'SSKY',
'SYC' => 'Syco',
'SM' => 'Symphony',
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/peripheral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1432,3 +1432,21 @@
model: 3 LTS
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 7.1.2; V2_PRO-ST) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Mobile Safari/537.36
os:
name: Android
version: 7.1.2
platform: ""
client:
type: browser
name: Chrome Mobile
version: 119.0.0.0
engine: Blink
engine_version: 119.0.0.0
device:
type: peripheral
brand: Sunmi
model: V2 Pro ST
os_family: Android
browser_family: Chrome
54 changes: 54 additions & 0 deletions Tests/fixtures/phablet-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4784,3 +4784,57 @@
model: Galaxy Z Flip 4
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm; Android 10; TECNO LH7n Build/TP1A.220624.014) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 YaBrowser/24.6.1.82.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "10"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 24.6.1.82.00
engine: Blink
engine_version: 124.0.0.0
device:
type: phablet
brand: Tecno Mobile
model: Pova 5
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 13; M2003J6A1I) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 122.0.0.0
engine: Blink
engine_version: 122.0.0.0
device:
type: phablet
brand: Xiaomi
model: Redmi Note 9 Pro
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 13; M1908C3JG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 124.0.0.0
engine: Blink
engine_version: 124.0.0.0
device:
type: phablet
brand: Xiaomi
model: Redmi Note 8
os_family: Android
browser_family: Chrome
18 changes: 18 additions & 0 deletions Tests/fixtures/portable_media_player.yml
Original file line number Diff line number Diff line change
Expand Up @@ -951,3 +951,21 @@
model: Y57A
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 9; SWOFY M503-Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "9"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 114.0.0.0
engine: Blink
engine_version: 114.0.0.0
device:
type: portable media player
brand: SWOFY
model: M503 Pro
os_family: Android
browser_family: Chrome
Loading

0 comments on commit cf99fa6

Please sign in to comment.