Skip to content

Commit

Permalink
Detect new brands: AFFIX, Listo, Aquarius and Detect devices for seve…
Browse files Browse the repository at this point in the history
…ral existing brands (#7128)

feat(device) detect brand Blu: Studio J8
feat(device) detect new brand AFFIX: Elite Aquarius
feat(device) detect new brand Aquarius: CMP NE145, CMP NS220, CMP NS55A, CMP NS208, Pro Std Elite Series
feat(device) detect new brand Listo: WebPad 1002
feat(device) detect brand Cube: Talk 8X
feat(device) detect brand DEXP: Ixion ES2 5", Ursus 10M 3G
feat(device) detect brand Oysters: T72ER 3G, T104MBi 3G
feat(device) detect brand Explay: Surfer 777 3G
feat(device) detect brand Openbox: AS1 HD
feat(device) detect brand FiGi: Note 1 Lite
feat(device) detect brand Xiaomi: Redmi 10A (220233L2C)
feat(device) detect brand Blu: Neo 5.5
feat(device) detect brand Klipad: KL628HL, KL628KO
feat(device) detect brand Chuwi: HiPad X
feat(device) detect brand Mecer: M17QF7 4G
feat(device) detect brand Vontar: KK Max
feat(device) detect brand Danew: DSlide 1021, DSlide 1013QC v4
feat(device) detect brand Vivo: Y21e (V2140), Y15s (V2125), Y01 (V2118)
feat(device) detect brand Konrow: Sweet 55
feat(device) detect brand Konrow: Soft 5
feat(device) detect brand Vivo: T1 5G (V2141),
feat(device) detect brand Realme: C3 (Realme G70 Series)
feat(device) detect brand Samsung: Galaxy M33 5G (SM-M336BU), Galaxy Quantum 2 (SM-A826S), Galaxy A73 5G (SM-A736B), Galaxy Jump 5G (SM-A326K),
feat(device) detect brand Samsung: Galaxy Buddy (SM-A226L), Galaxy Tab S8 Ultra 14.6" WiFi (SM-X900)
feat(device) detect brand Xiaomi: Redmi Note 11S (2201117SI), Redmi Note 11 Pro (2201116TI)

Co-authored-by: Stefan Giehl <stefan@matomo.org>
  • Loading branch information
sanchezzzhak and sgiehl committed May 24, 2022
1 parent c6ff0cf commit 4608ab2
Show file tree
Hide file tree
Showing 9 changed files with 1,044 additions and 45 deletions.
3 changes: 3 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Expand Up @@ -100,6 +100,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'AD' => 'Advance',
'76' => 'Adronix',
'AF' => 'AfriOne',
'FY' => 'AFFIX',
'A3' => 'AGM',
'J0' => 'AG Mobile',
'AZ' => 'Ainol',
Expand Down Expand Up @@ -153,6 +154,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'AN' => 'Arnova',
'AS' => 'ARRIS',
'AQ' => 'Aspera',
'HJ' => 'Aquarius',
'40' => 'Artel',
'21' => 'Artizlee',
'59' => 'ArtLine',
Expand Down Expand Up @@ -701,6 +703,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'LI' => 'Lingwin',
'LJ' => 'L-Max',
'LW' => 'Linnex',
'JJ' => 'Listo',
'LO' => 'Loewe',
'YL' => 'Loview',
'1L' => 'Logic',
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/desktop.yml
Expand Up @@ -8539,3 +8539,21 @@
model: ""
os_family: Windows
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 5.1.1; Aquarius Pro, Std, Elt Series) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.143 Safari/537.36
os:
name: Android
version: 5.1.1
platform: ""
client:
type: browser
name: Chrome
version: 75.0.3770.143
engine: Blink
engine_version: 75.0.3770.143
device:
type: desktop
brand: Aquarius
model: Pro Std Elite Series
os_family: Android
browser_family: Chrome
54 changes: 54 additions & 0 deletions Tests/fixtures/phablet.yml
Expand Up @@ -8568,3 +8568,57 @@
model: Redmi Note 9S
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 11; Note_1_Lite) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.181 Mobile Safari/537.36
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 88.0.4324.181
engine: Blink
engine_version: 88.0.4324.181
device:
type: phablet
brand: FiGi
model: Note 1 Lite
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 11; 2201117SI) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Mobile Safari/537.36
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 100.0.4896.88
engine: Blink
engine_version: 100.0.4896.88
device:
type: phablet
brand: Xiaomi
model: Redmi Note 11S
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 11; 2201116TI) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.85 Mobile Safari/537.36
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 94.0.4606.85
engine: Blink
engine_version: 94.0.4606.85
device:
type: phablet
brand: Xiaomi
model: Redmi Note 11 Pro
os_family: Android
browser_family: Chrome
162 changes: 162 additions & 0 deletions Tests/fixtures/smartphone-29.yml
Expand Up @@ -9319,3 +9319,165 @@
model: G32
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 7.0; Studio J8 LTE) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36
os:
name: Android
version: "7.0"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 71.0.3578.99
engine: Blink
engine_version: 71.0.3578.99
device:
type: smartphone
brand: Blu
model: Studio J8
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 5.0; VOYAGER2_DG310 Build/LRX21M) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/37.0.0.0 Mobile Safari/537.36 YandexSearch/6.45
os:
name: Android
version: "5.0"
platform: ""
client:
type: browser
name: Chrome Webview
version: 37.0.0.0
engine: Blink
engine_version: 37.0.0.0
device:
type: smartphone
brand: Doogee
model: VOYAGER2 DG310
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 11; 5033F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Mobile Safari/537.36
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 100.0.4896.127
engine: Blink
engine_version: 100.0.4896.127
device:
type: smartphone
brand: Alcatel
model: "1"
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 12; SM-A235N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 101.0.4951.41
engine: Blink
engine_version: 101.0.4951.41
device:
type: smartphone
brand: Samsung
model: Galaxy A23
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 12; SM-A235F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 100.0.4896.127
engine: Blink
engine_version: 100.0.4896.127
device:
type: smartphone
brand: Samsung
model: Galaxy A23
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 12; SAMSUNG SM-A235N) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/16.2 Chrome/92.0.4515.166 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Samsung Browser
version: "16.2"
engine: WebKit
engine_version: "537.36"
device:
type: smartphone
brand: Samsung
model: Galaxy A23
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 12; SAMSUNG SM-A135F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/17.0 Chrome/96.0.4664.104 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Samsung Browser
version: "17.0"
engine: WebKit
engine_version: "537.36"
device:
type: smartphone
brand: Samsung
model: Galaxy A13
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 12; SAMSUNG SM-A336B) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/16.0 Chrome/92.0.4515.166 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Samsung Browser
version: "16.0"
engine: WebKit
engine_version: "537.36"
device:
type: smartphone
brand: Samsung
model: Galaxy A33 5G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 12; SAMSUNG SM-A336E) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/16.0 Chrome/92.0.4515.166 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Samsung Browser
version: "16.0"
engine: WebKit
engine_version: "537.36"
device:
type: smartphone
brand: Samsung
model: Galaxy A33 5G
os_family: Android
browser_family: Chrome

0 comments on commit 4608ab2

Please sign in to comment.