Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Detect new brand: VOLKANO and Detect device for exists brands: OnePlus, Oppo, Huawei, Xiaomi, Samsung #7469

Merged
merged 5 commits into from
Sep 28, 2023
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 @@ -1646,6 +1646,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'VU' => 'Vulcan',
'3V' => 'VVETIME',
'ZC' => 'VUCATIMES',
'VO2' => 'VOLKANO',
'VUE' => 'Vue Micro',
'WA' => 'Walton',
'WAF' => 'WAF',
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 @@ -1643,3 +1643,39 @@
model: iPhone 15 Pro Max
os_family: iOS
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 13; SM-F946B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 YaSearchBrowser/23.75.1 BroPP/1.0 YaSearchApp/23.75.1 webOmni SA/3 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.75.1
engine: Blink
engine_version: 114.0.0.0
device:
type: phablet
brand: Samsung
model: Galaxy Z Fold 5
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm; Android 13; SM-F731B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 YaApp_Android/23.36.1 YaSearchBrowser/23.36.1 BroPP/1.0 SA/3 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.36.1
engine: Blink
engine_version: 110.0.0.0
device:
type: phablet
brand: Samsung
model: Galaxy Z Flip 5
os_family: Android
browser_family: Unknown
Loading