Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Detect new brand AZOM and Detect devices for exist brands #7894

Merged
merged 3 commits into from
Nov 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading