Skip to content

Commit

Permalink
Detect new brand AZOM and Detect devices for exist brands (#7894)
Browse files Browse the repository at this point in the history
* feat(device) detect brand Realme: V60s (RMX3996), C63 5G (RMX3950)
feat(device) detect brand Nubia: Focus 5G (Z2357N), Music (Z2353)
feat(device) detect brand Symphony: Innova 30, Innova 20
feat(device) detect brand T-Mobile: REVVL Tab 5G (TMRV5GTB)
feat(device) detect brand Vorcom: Ultra Pad
feat(device) detect brand Samsung: Galaxy M35 5G (SM-M356B), Galaxy A54 5G (SM-S546VL)

* feat(device) detect new brand AZOM: River 1
feat(device) detect brand Sharp: Aquos V6 5G (SH-C05)
feat(device) detect brand Cherry Mobile: Aqua S10 Pro
feat(device) detect brand Tecno Mobile: Spark 8C (TECNO KG5k)

---------

Co-authored-by: Liviu-Mihail Concioiu <[email protected]>
  • Loading branch information
sanchezzzhak and liviuconcioiu authored Nov 2, 2024
1 parent d65ca17 commit 1207a30
Show file tree
Hide file tree
Showing 4 changed files with 292 additions and 11 deletions.
1 change: 1 addition & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'AM' => 'Azumi Mobile',
'AZE' => 'Azeyou',
'AZU' => 'Azupik',
'AZO' => 'AZOM',
'WW' => 'Awow',
'AWO' => 'AWOX',
'XU' => 'AUX',
Expand Down
216 changes: 216 additions & 0 deletions Tests/fixtures/smartphone-41.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,3 +269,219 @@
model: Redmi 13
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; U; Android 14; zh-CN; RMX3996 Build/UKQ1.231108.001) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.58 Quark/7.3.7.662 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ""
client:
type: browser
name: Quark
version: 7.3.7.662
engine: Blink
engine_version: 100.0.4896.58
device:
type: smartphone
brand: Realme
model: V60s
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; U; Android 14; en-US; SM-M356B Build/UP1A.231005.007) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.58 UCBrowser/13.7.8.1322 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ""
client:
type: browser
name: UC Browser
version: 13.7.8.1322
engine: Blink
engine_version: 100.0.4896.58
device:
type: smartphone
brand: Samsung
model: Galaxy M35 5G
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; U; Android 14; en-us; SM-S546VL Build/UP1A.231005.007) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.5563.116 Mobile Safari/537.36 PHX/16.7
os:
name: Android
version: "14"
platform: ""
client:
type: browser
name: Phoenix Browser
version: "16.7"
engine: Blink
engine_version: 111.0.5563.116
device:
type: smartphone
brand: Samsung
model: Galaxy A54 5G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; U; Android 14; en-us; RMX3950 Build/JOP24G) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/76.0.3809.111 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ""
client:
type: browser
name: Chrome Webview
version: 76.0.3809.111
engine: Blink
engine_version: 76.0.3809.111
device:
type: smartphone
brand: Realme
model: C63 5G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; U; Android 13; en-US; Z2357N Build/TP1A.220624.014) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.58 UCBrowser/13.7.8.1322 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: UC Browser
version: 13.7.8.1322
engine: Blink
engine_version: 100.0.4896.58
device:
type: smartphone
brand: Nubia
model: Focus 5G
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; U; Android 13; en-US; Z2353 Build/TP1A.220624.014) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.58 UCBrowser/13.7.8.1322 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: UC Browser
version: 13.7.8.1322
engine: Blink
engine_version: 100.0.4896.58
device:
type: smartphone
brand: Nubia
model: Music
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; U; Android 13; en-us; innova30 Build/JOP24G) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/76.0.3809.111 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Webview
version: 76.0.3809.111
engine: Blink
engine_version: 76.0.3809.111
device:
type: smartphone
brand: Symphony
model: Innova 30
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; U; Android 13; en-US; innova20 Build/TP1A.220624.014) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.58 UCBrowser/13.7.8.1322 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: UC Browser
version: 13.7.8.1322
engine: Blink
engine_version: 100.0.4896.58
device:
type: smartphone
brand: Symphony
model: Innova 20
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; U; Android 12; en-US; SH-C05 Build/SP1A.210812.016) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.58 UCBrowser/13.7.8.1322 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: UC Browser
version: 13.7.8.1322
engine: Blink
engine_version: 100.0.4896.58
device:
type: smartphone
brand: Sharp
model: Aquos V6 5G
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; U; Android 11; en-US; TECNO Mobile KG5k Build/RP1A.201005.001) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.58 UCBrowser/13.7.8.1322 Mobile Safari/537.36
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: UC Browser
version: 13.7.8.1322
engine: Blink
engine_version: 100.0.4896.58
device:
type: smartphone
brand: Tecno Mobile
model: Spark 8C
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; U; Android 11; en-US; AZOM River 1 Build/RP1A.200720.011) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.58 UCBrowser/13.7.8.1322 Mobile Safari/537.36
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: UC Browser
version: 13.7.8.1322
engine: Blink
engine_version: 100.0.4896.58
device:
type: smartphone
brand: AZOM
model: River 1
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; U; Android 11; en-us; Aqua S10 Pro Build/JOP24G) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/76.0.3809.111 Mobile Safari/537.36
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: Chrome Webview
version: 76.0.3809.111
engine: Blink
engine_version: 76.0.3809.111
device:
type: smartphone
brand: Cherry Mobile
model: Aqua S10 Pro
os_family: Android
browser_family: Chrome
36 changes: 36 additions & 0 deletions Tests/fixtures/tablet-12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -341,3 +341,39 @@
model: SmartPad 10.5" Azimut 4
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; U; Android 14; en-us; TMRV5GTB Build/UP1A.231005.007) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.146 Mobile Safari/537.36 PHX/16.7
os:
name: Android
version: "14"
platform: ""
client:
type: browser
name: Phoenix Browser
version: "16.7"
engine: Blink
engine_version: 128.0.6613.146
device:
type: tablet
brand: T-Mobile
model: REVVL Tab 5G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; U; Android 13; ULTRAPAD Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/129.0.6668.71 Safari/537.36 OPR/84.0.2254.73823
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Opera
version: 84.0.2254.73823
engine: Blink
engine_version: 129.0.6668.71
device:
type: tablet
brand: Vorcom
model: Ultra Pad
os_family: Android
browser_family: Opera
Loading

0 comments on commit 1207a30

Please sign in to comment.