Skip to content

Commit

Permalink
Detect new brands: Cidea, Cuiud, Daria, HiBy, mipo and Detect devices…
Browse files Browse the repository at this point in the history
… for exist brands (matomo-org#7671)

feat(device) detect brand F+: SH65
feat(device) detect brand Oukitel: WP2
feat(device) detect brand Hammer: Energy X
feat(device) detect brand Yandex: YNDX-00092
feat(device) detect new brand W&O: X9 Call 2
feat(device) detect brand OMIX: X400, X600
feat(device) detect brand Nokia: C300, G100
feat(device) detect brand Vortex: HD62
feat(device) detect brand NEXON: X5+
feat(device) detect brand General Mobile: GM 6 DS (G100)
feat(device) detect new brand Cidea: CM7800 Plus
feat(device) detect new brand Cuiud: F7
feat(device) detect brand ANS: UL40
feat(device) detect brand Kivi: 32H600GU
feat(device) detect brand Lenovo: IdeaTab A1020
feat(device) detect brand Logicom: La Tab Stand Pro
feat(device) detect brand Acer: BattleZone LTE (M10-12_EEA)
feat(device) detect brand Asus: Smartphone for Snapdragon Insiders (I007D)
feat(device) detect brand Blackview: BL8000
feat(device) detect brand ZTE: Blade A53 Pro, 5G UG Phone U23 (7160N), Blade V50 Design 5G (8150N), Blade A73 (7060), Blade A33s, Blade A53+
feat(device) detect brand Alcatel: One Touch Pixi 3 3.5" (A463BG)
feat(device) detect brand Realme: 12 5G (RMX3999)
feat(device) detect brand Xiaomi: Mi 5X
feat(device) detect brand Leagoo: LeaPad 7
feat(device) detect brand Hi: VHIX-40F152MSY
feat(device) detect brand AMCV: LE-50ZTUS30
feat(device) detect brand Sigma: Tab A1010 Neo, X-Treme Tab A1025
feat(device) detect brand Fly: Flylife Connect 10.1 3G 2
feat(device) detect brand Motorola: Moto X40 (XT2301-5)
feat(device) detect brand Vivo: iQOO Z7i (V2230EA)
feat(device) detect brand Dcode: Cygnal 2 Lite (DS-CL2 Lite)
feat(device) detect new brand Daria: DM-B50104
feat(device) detect new brand HiBy: R6 Gen III
feat(device) detect new brand mipo: M25, M46 Pro
feat(device) detect brand Yandex: YNDX-00101
feat(device) detect brand DEXP: 43UCY1
feat(device) detect brand DreamStar: W2
feat(device) detect brand AGM: G2, H6
feat(device) detect brand Nokia: X10
feat(device) detect brand Ulefone: Armor Pad
feat(device) detect brand UMIDIGI: C1 (MP07), F3 (MP09)
feat(device) detect brand LT Mobile: M40 (LT_6509)
feat(device) detect brand Dcode: Cygnal 3 (DS-CL3), Bold 2 (DS-BD2), Cygnal (DS-CL1)
feat(device) detect brand DIJITSU: DCT 90
feat(device) detect brand Mione: Pro+
feat(device) detect brand CCIT: KT200 Pro, KT300 Pro, KT600 Pro
feat(device) detect brand Walton: Nexg N71
feat(device) detect brand TopDevice: A10 (TDT4541_4G_E_RU)
feat(device) detect brand OSCAL: Modern 8, Flat 1C
feat(device) detect brand VGO TEL: New 10, New 20
feat(device) detect brand Sky: Elite A63 Max
feat(device) detect brand Blu: Bold N3
feat(device) detect brand OPPO: K9 Pro 5G, K9s, K9x
feat(device) detect brand Ulefone: Armor X12 Pro, Armor X13, Armor 24, Armor 20WT
feat(device) detect brand Sharp: Aquos R8 (SH-52D)
feat(device) detect brand Rombica: myPhone Jet
feat(device) detect brand Koobee: K100 (SL004T)
feat(device) detect brand BMAX: MaxPad I11 Plus
feat(device) detect brand iHunt: Strong Tablet P15000 Pro
feat(device) detect brand Blackview: BV8900 Pro, BV9300 Pro, BV6200, Mega 1, Active 8, Tab 7 WiFi
feat(device) detect brand Huawei: Nova 11 Ultra (GOA-AL80U)
feat(device) detect brand Ulefone: S11
feat(device) detect brand HIPER: M-Pad
feat(device) detect brand HTC: A100
  • Loading branch information
sanchezzzhak authored May 2, 2024
1 parent 6486957 commit 95af827
Show file tree
Hide file tree
Showing 9 changed files with 1,789 additions and 84 deletions.
5 changes: 5 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'C3' => 'China Mobile',
'U9' => 'China Telecom',
'CI' => 'Chico Mobile',
'CIA' => 'C Idea',
'CIP' => 'CipherLab',
'CIT' => 'Citycall',
'1C' => 'Chuwi',
Expand Down Expand Up @@ -379,13 +380,15 @@ abstract class AbstractDeviceParser extends AbstractParser
'CTR' => 'Ctroniq',
'CU' => 'Cube',
'CB' => 'CUBOT',
'CUI' => 'Cuiud',
'CV' => 'CVTE',
'CWO' => 'Cwowdefu',
'C4' => 'Cyrus',
'D5' => 'Daewoo',
'DA' => 'Danew',
'DAN' => 'Dany',
'DA1' => 'DangcapHD',
'DAR' => 'Daria',
'DT' => 'Datang',
'D7' => 'Datawind',
'7D' => 'Datamini',
Expand Down Expand Up @@ -701,6 +704,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'HL' => 'Hi-Level',
'3H' => 'Hi',
'HIB' => 'Hiberg',
'HBY' => 'HiBy',
'HIH' => 'HiHi',
'HIK' => 'HiKing',
'H2' => 'Highscreen',
Expand Down Expand Up @@ -1034,6 +1038,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'MEO' => 'MEO',
'MX' => 'MEU',
'MI' => 'MicroMax',
'MIP' => 'mipo',
'MS' => 'Microsoft',
'6Q' => 'Microtech',
'1X' => 'Minix',
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/phablet-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4354,3 +4354,21 @@
model: Galaxy Note 20 Ultra
os_family: Android
browser_family: Opera
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 12; SM-F907B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.324 YaApp_Android/24.19/apad YaSearchBrowser/24.19/apad BroPP/1.0 SA/3 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ARM
client:
type: browser
name: Yandex Browser
version: "24.19"
engine: Blink
engine_version: 120.0.6099.324
device:
type: phablet
brand: Samsung
model: Galaxy Fold
os_family: Android
browser_family: Unknown
18 changes: 18 additions & 0 deletions Tests/fixtures/portable_media_player.yml
Original file line number Diff line number Diff line change
Expand Up @@ -915,3 +915,21 @@
model: iPod Touch 7
os_family: iOS
browser_family: Safari
-
user_agent: Mozilla/5.0 (Linux; Android 12; R6III Build/SKQ1.211006.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/91.0.4472.114 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Chrome Webview
version: 91.0.4472.114
engine: Blink
engine_version: 91.0.4472.114
device:
type: portable media player
brand: HiBy
model: R6 Gen III
os_family: Android
browser_family: Chrome
54 changes: 54 additions & 0 deletions Tests/fixtures/smartphone-36.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7257,6 +7257,24 @@
model: Galaxy S23
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 14; SM-A346B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 123.0.0.0
engine: Blink
engine_version: 123.0.0.0
device:
type: smartphone
brand: Samsung
model: Galaxy A34 5G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 13; SAMSUNG SM-A346B) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/21.0 Chrome/110.0.5481.154 Mobile Safari/537.36
os:
Expand Down Expand Up @@ -9975,3 +9993,39 @@
model: Joe
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 13; BL8000) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.149 Mobile Safari/537.36 OPR/81.3.4292.78688
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Opera Mobile
version: 81.3.4292.78688
engine: Blink
engine_version: 122.0.6261.149
device:
type: smartphone
brand: Blackview
model: BL8000
os_family: Android
browser_family: Opera
-
user_agent: Mozilla/5.0 (Linux; Android 12; ZTE Blade A53 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 123.0.0.0
engine: Blink
engine_version: 123.0.0.0
device:
type: smartphone
brand: ZTE
model: Blade A53 Pro
os_family: Android
browser_family: Chrome
18 changes: 0 additions & 18 deletions Tests/fixtures/smartphone-37.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4523,24 +4523,6 @@
model: M5A
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 13; Active 8 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.232 YaBrowser/23.11.0.232.01 Safari/537.36
os:
name: Android
version: "13"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.11.0.232.01
engine: Blink
engine_version: 118.0.5993.232
device:
type: smartphone
brand: Blackview
model: Active 8 Pro
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 10; Blade L210) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Mobile Safari/537.36 OPR/77.0.4054.90
os:
Expand Down
Loading

0 comments on commit 95af827

Please sign in to comment.