Skip to content

Commit

Permalink
Detect new brand: SOWLY and Detect devices for exist brands (#7977)
Browse files Browse the repository at this point in the history
* feat(device) detect brand Xiaomi: Redmi Note 12 Pro Speed, Redmi Note 13 Pro, Redmi Pad SE 8.7"
feat(device) detect brand Coolpad: CP12s, Cool 30i (CP12Q)
feat(device) detect brand HMD: Vibe (N159V)
feat(device) detect brand PAGRAER: A35 Pro (PGR3042)
feat(device) detect brand Sparx: Neo 11
feat(device) detect brand Mione: U1
feat(device) detect brand Hafury: MEET
feat(device) detect brand Digma: Pro Hit 106 10.1" (HS1007PL), Pro Hit 104 10.1" (HS1009PL)
feat(device) detect brand OPPO: Find X8 Pro (PKC110), A1x 5G (PJU110_A1)

* feat(device) detect new brand SOWLY: A133P
feat(device) detect brand Lava: Yuva 3 (LZX415)
feat(device) detect brand OPPO: Reno 9 A (CPH2524)
feat(device) detect brand Blu: C6L Max
feat(device) detect brand Oukitel: C38
feat(device) detect brand Hammer: Blade V 5G
feat(device) detect brand Blackview: A96
feat(device) detect brand Benco: V91 Plus (AEOP520)
  • Loading branch information
sanchezzzhak authored Jan 20, 2025
1 parent aa4586d commit 3ccc6b4
Show file tree
Hide file tree
Showing 5 changed files with 453 additions and 20 deletions.
1 change: 1 addition & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -1651,6 +1651,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'77' => 'SONOS',
'68' => 'Soho Style',
'SOB' => 'SobieTech',
'SOW' => 'SOWLY',
'PK' => 'Spark',
'SPX' => 'Sparx',
'FS' => 'SPC',
Expand Down
36 changes: 36 additions & 0 deletions Tests/fixtures/phablet-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5634,3 +5634,39 @@
model: Note 12 EF
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; U; Android 13; tr-tr; Redmi Note 12 Pro Speed Build/TKQ1.221114.001) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.127 Mobile Safari/537.36 XiaoMi/MiuiBrowser/13.25.2.2-gn
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Mi Browser
version: 13.25.2.2
engine: Blink
engine_version: 100.0.4896.127
device:
type: phablet
brand: Xiaomi
model: Redmi Note 12 Pro Speed
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; U; Android 13; uz-uz; Redmi Note 13 Pro Build/TP1A.220624.014) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/112.0.5615.136 Mobile Safari/537.36 XiaoMi/MiuiBrowser/13.40.2-gn
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Mi Browser
version: 13.40.2
engine: Blink
engine_version: 112.0.5615.136
device:
type: phablet
brand: Xiaomi
model: Redmi Note 13 Pro
os_family: Android
browser_family: Chrome
286 changes: 286 additions & 0 deletions Tests/fixtures/smartphone-41.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4656,3 +4656,289 @@
model: ViewPhone Q5
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 13; CP12s) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.6723.279 YaBrowser/24.12.0.279.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 24.12.0.279.00
engine: Blink
engine_version: 130.0.6723.279
device:
type: smartphone
brand: Coolpad
model: CP12s
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 13; CP12Q) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.15 YaSearchBrowser/24.107.1 BroPP/1.0 YaSearchApp/24.107.1 webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 24.107.1
engine: Blink
engine_version: 128.0.6613.15
device:
type: smartphone
brand: Coolpad
model: Cool 30i
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; U; Android 15; en-us; PKC110 Build/AP3A.240617.008) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/115.0.5790.168 Mobile Safari/537.36 HeyTapBrowser/40.9.0.1
os:
name: Android
version: "15"
platform: ""
client:
type: mobile app
name: HeyTapBrowser
version: 40.9.0.1
device:
type: smartphone
brand: OPPO
model: Find X8 Pro
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; U; Android 14; zh-CN; PJU110_A1 Build/TP1A.220905.001) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.58 Quark/7.5.5.700 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ""
client:
type: browser
name: Quark
version: 7.5.5.700
engine: Blink
engine_version: 100.0.4896.58
device:
type: smartphone
brand: OPPO
model: A1x 5G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; U; Android 14; en-us; N159V Build/JOP24G) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/85.0.4183.69 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ""
client:
type: browser
name: Chrome Webview
version: 85.0.4183.69
engine: Blink
engine_version: 85.0.4183.69
device:
type: smartphone
brand: HMD
model: Vibe
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; U; Android 13; PGR3042 Build/N6F26Q; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/119.0.6045.193 Mobile Safari/537.36 OPR/86.0.2254.74831
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Opera Mobile
version: 86.0.2254.74831
engine: Blink
engine_version: 119.0.6045.193
device:
type: smartphone
brand: PAGRAER
model: A35 Pro
os_family: Android
browser_family: Opera
-
user_agent: Mozilla/5.0 (Linux; U; Android 13; Neo 11 Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/130.0.6723.108 Mobile Safari/537.36 OPR/86.0.2254.74831
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Opera Mobile
version: 86.0.2254.74831
engine: Blink
engine_version: 130.0.6723.108
device:
type: smartphone
brand: Sparx
model: Neo 11
os_family: Android
browser_family: Opera
-
user_agent: Mozilla/5.0 (Linux; Android 13; mione U1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 131.0.0.0
engine: Blink
engine_version: 131.0.0.0
device:
type: smartphone
brand: Mione
model: U1
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 13; MEET) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 131.0.0.0
engine: Blink
engine_version: 131.0.0.0
device:
type: smartphone
brand: Hafury
model: MEET
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 13; LZX415) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 131.0.0.0
engine: Blink
engine_version: 131.0.0.0
device:
type: smartphone
brand: Lava
model: Yuva 3
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 13; CPH2524) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 131.0.0.0
engine: Blink
engine_version: 131.0.0.0
device:
type: smartphone
brand: OPPO
model: Reno 9 A
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 13; C6L Max) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 131.0.0.0
engine: Blink
engine_version: 131.0.0.0
device:
type: smartphone
brand: Blu
model: C6L Max
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 13; C 38) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 131.0.0.0
engine: Blink
engine_version: 131.0.0.0
device:
type: smartphone
brand: Oukitel
model: C38
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 13; Blade V 5G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 131.0.0.0
engine: Blink
engine_version: 131.0.0.0
device:
type: smartphone
brand: Hammer
model: Blade V 5G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 13; Blackview A96) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 121.0.0.0
engine: Blink
engine_version: 121.0.0.0
device:
type: smartphone
brand: Blackview
model: A96
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 13; AEOP520) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 131.0.0.0
engine: Blink
engine_version: 131.0.0.0
device:
type: smartphone
brand: Benco
model: V91 Plus
os_family: Android
browser_family: Chrome
Loading

0 comments on commit 3ccc6b4

Please sign in to comment.