Skip to content

Commit

Permalink
Detect new brands: NGpon, Rupa and Detect devices for exist brands (#…
Browse files Browse the repository at this point in the history
…7375)

* feat(device) detect brand Xiaomi: Redmi Note 12 Pro (22101316I), Redmi Note 12 Discovery (22101316UP), Redmi Note 12 (22101317C)
feat(device) detect brand FiiO: M11, M6
feat(device) detect brand POCO: X5 5G (22111317PG)
feat(device) detect brand TCL: 408 (T507U)
feat(device) detect brand Beafon: Tab Lite TW10

* feat(device) detect brand Explay: Scream 3G
feat(device) detect brand Lexand: SB7 PRO HD, SC7 PRO HD
feat(device) detect brand 4Good: T704m 3G, T703m 3G
feat(device) detect brand X96: Mini 11
feat(device) detect brand NEXON: X1+

* feat(device) detect new brand NGpon: 3188HD
feat(device) detect brand Hytera: PNC550
feat(device) detect brand SFR: StarShine 3
feat(device) detect brand Highscreen: Prime Mini SE
feat(device) detect brand Prestigio: Muze K3 LTE (PSP3534DUO), Wize YA3 (PSP3416DUO_EU)
feat(device) detect brand Vivax: Point X502

* feat(device) detect new brand Rupa: Pyramid A5X
feat(device) detect brand Beelink: R68 II
feat(device) detect brand Advance: Hollogram HL6577, Hollogram HL6256

* feat(device) detect brand NOGA: PC Pro, PC Live
feat(device) detect brand Mystery: D4906XF16, D4306LF13, D2365CH58
feat(device) detect brand Mpman: MPQC7
feat(device) detect brand Wolder: miTab PRO 10 PLUS, miTab PRO 10
feat(device) detect brand Cloudfone: Next Lite

---------

Co-authored-by: Stefan Giehl <stefan@matomo.org>
  • Loading branch information
sanchezzzhak and sgiehl committed Mar 16, 2023
1 parent 34c57bd commit f9bfc77
Show file tree
Hide file tree
Showing 10 changed files with 1,020 additions and 46 deletions.
2 changes: 2 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'NJO' => 'nJoy',
'NG' => 'NGM',
'NZ' => 'NG Optics',
'NZP' => 'NGpon',
'NN' => 'Nikon',
'NI' => 'Nintendo',
'NIN' => 'NINETEC',
Expand Down Expand Up @@ -1227,6 +1228,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'RG' => 'RugGear',
'RUG' => 'Ruggex',
'RU' => 'Runbo',
'RUP' => 'Rupa',
'RL' => 'Ruio',
'RY' => 'Ryte',
'X5' => 'Saba',
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/peripheral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1002,3 +1002,21 @@
model: MC93
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; PNC550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Mobile Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome Mobile
version: 87.0.4280.66
engine: Blink
engine_version: 87.0.4280.66
device:
type: peripheral
brand: Hytera
model: PNC550
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 @@ -805,3 +805,57 @@
model: Redmi Note 12
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 12; 22101316I) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 110.0.0.0
engine: Blink
engine_version: 110.0.0.0
device:
type: phablet
brand: Xiaomi
model: Redmi Note 12 Pro
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 12; 22101316UP) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 110.0.0.0
engine: Blink
engine_version: 110.0.0.0
device:
type: phablet
brand: Xiaomi
model: Redmi Note 12 Discovery
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 12; 22101317C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 110.0.0.0
engine: Blink
engine_version: 110.0.0.0
device:
type: phablet
brand: Xiaomi
model: Redmi Note 12
os_family: Android
browser_family: Chrome
36 changes: 36 additions & 0 deletions Tests/fixtures/portable_media_player.yml
Original file line number Diff line number Diff line change
Expand Up @@ -791,3 +791,39 @@
model: Walkman A300
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 7.0; FiiO M11) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "7.0"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 109.0.0.0
engine: Blink
engine_version: 109.0.0.0
device:
type: portable media player
brand: FiiO
model: M11
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 7.0; FiiO M6 Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/51.0.2704.91 Mobile Safari/537.36
os:
name: Android
version: "7.0"
platform: ""
client:
type: browser
name: Chrome Webview
version: 51.0.2704.91
engine: Blink
engine_version: 51.0.2704.91
device:
type: portable media player
brand: FiiO
model: M6
os_family: Android
browser_family: Chrome
Loading

0 comments on commit f9bfc77

Please sign in to comment.