8000 Detect new brands: GOtv, Moondrop, SWOFY and Detect device for exist brands by sanchezzzhak · Pull Request #7745 · matomo-org/device-detector · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Detect new brands: GOtv, Moondrop, SWOFY and Detect device for exist brands #7745

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 19, 2024
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
Loading
0