Skip to content

Commit

Permalink
Detect new brands: NINETOLOGY, Nordfrost and Detect devices for exist…
Browse files Browse the repository at this point in the history
… brands (matomo-org#7776)

feat(device) detect new brand NINETOLOGY: Z1+, X1
feat(device) detect brand Motorola: Moto E6S,  Moto G50 (XT2137-1)
feat(device) detect brand Vonino: Pluri M8 (2020)
feat(device) detect brand Nokia: C2
feat(device) detect brand ZTE: Axon 20 5G (A2121G)
feat(device) detect brand Sharp: Aquos R8 Pro (A301SH)
feat(device) detect brand Xiaomi: Redmi 8 (M1908C3IH)
feat(device) detect brand Vivo: Y58 5G (V2355), Y28s 5G (V2351), Y18e (V2350), Y200 5G (V2401), T2 (V2199GA)
feat(device) detect new brand Nordfrost: Y-4301-FHD-R, Y-4001-FHD-R
feat(device) detect brand SUNWIND: SUN-LED65XU401
feat(device) detect brand Leff: 55U620S
feat(device) detect brand Lenovo: ThinkPad Yoga 370 (20JJS0CU1M)
feat(device) detect brand Huawei: Nova 9 SE (JuliaQN-L23A)
feat(device) detect brand AllDocube: iPlay 50 Pro
feat(device) detect brand HTC: U12 Life (2Q6E1)
feat(device) detect brand Premio: X75 (2021)
feat(device) detect brand LG: K8 (2018) (US215)
feat(device) detect brand iTel: A50 (A667LP)
feat(device) detect brand Erisson: 32LES902T2SM
feat(device) detect brand VIKUSHA: V-Z50
feat(device) detect brand Alcatel: TEKE Mini (8052_RU)
feat(device) detect brand ZTE: Axon 40 Ultra (A2023P), Axon 30 Pro 5G (A2022P), Axon 30 Pro (A2022)
feat(device) detect brand Google: Pixel 4a (GA02099), Pixel 5a 5G (G4S1M)
feat(device) detect brand Mobicel: Shift
feat(device) detect brand Hisense: E40
feat(device) detect brand Symphony: i99, i66
feat(device) detect brand Ravoz: Z6 Lite
feat(device) detect brand SPURT: K800
feat(device) detect brand Vivax: Smart Fly V500
feat(device) detect brand Lexand: SB5 HD
feat(device) detect brand Oysters: T82P 3G
  • Loading branch information
sanchezzzhak authored Aug 12, 2024
1 parent 76a3e4d commit 6df5b79
Show file tree
Hide file tree
Showing 7 changed files with 878 additions and 37 deletions.
2 changes: 2 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -1192,6 +1192,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'NN' => 'Nikon',
'NI' => 'Nintendo',
'NIN' => 'NINETEC',
'NI1' => 'NINETOLOGY',
'N5' => 'NOA',
'N1' => 'Noain',
'N6' => 'Nobby',
Expand All @@ -1208,6 +1209,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'2N' => 'Nomu',
'6H' => 'Noontec',
'NR' => 'Nordmende',
'NRD' => 'Nordfrost',
'NOR' => 'NORMANDE',
'7N' => 'NorthTech',
'NOT' => 'Nothing Phone',
Expand Down
19 changes: 19 additions & 0 deletions Tests/fixtures/desktop-1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
-
user_agent: Mozilla/5.0 (Linux; Android 13; 20JJS0CU1M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.6422.113 Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome
version: 125.0.6422.113
engine: Blink
engine_version: 125.0.6422.113
device:
type: desktop
brand: Lenovo
model: ThinkPad Yoga 370
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 @@ -4856,3 +4856,21 @@
model: Galaxy Z Fold 2 5G
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 14; A2121G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 117.0.0.0
engine: Blink
engine_version: 117.0.0.0
device:
type: phablet
brand: ZTE
model: Axon 20 5G
os_family: Android
browser_family: Chrome
Loading

0 comments on commit 6df5b79

Please sign in to comment.