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 brands Blackton, Temigereev and Detect devices for exist brands #7917

Merged
merged 3 commits into from
Nov 18, 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
2 changes: 2 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'BLK' => 'Black Box',
'BF' => 'Black Fox',
'BPC' => 'Blackpcs',
'BLT' => 'Blackton',
'B2' => 'Blackview',
'2Y' => 'b2m',
'BP' => 'Blaupunkt',
Expand Down Expand Up @@ -1692,6 +1693,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'TX' => 'TechniSat',
'TT' => 'TechnoTrend',
'TTS' => 'TECHNOSAT',
'TM1' => 'Temigereev',
'TP' => 'TechPad',
'TPS' => 'TPS',
'9E' => 'Techwood',
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/phablet-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5670,3 +5670,21 @@
model: Redmi Note 13R
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; arm; Android 14; SM-G532F Build/MMB29T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.6367.82 YaBrowser/24.6.1.82.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 24.6.1.82.00
engine: Blink
engine_version: 124.0.6367.82
device:
type: phablet
brand: Samsung
model: Galaxy Grand Prime Plus
os_family: Android
browser_family: Unknown
Loading
Loading