8000 Detect new brands: ATMPC, SENNA, XREAL and Detect devices for exist brands by sanchezzzhak · Pull Request #7799 · matomo-org/device-detector · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Detect new brands: ATMPC, SENNA, XREAL and Detect devices for exist brands #7799

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

Merged
merged 5 commits into from
Aug 27, 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
3 changes: 3 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'ATE' => 'Atlantic Electrics',
'5Q' => 'Atmaca Elektronik',
'YH' => 'ATMAN',
'ATM' => 'ATMPC',
'2A' => 'Atom',
'AT1' => 'Atozee',
'ATO' => 'ATOL',
Expand Down Expand Up @@ -1477,6 +1478,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'89' => 'Seatel',
'SEW' => 'Sewoo',
'SE1' => 'SEEWO',
'SEN' => 'SENNA',
'Y7' => 'Saiet',
' 8000 SLF' => 'SAILF',
'X1' => 'Safaricom',
Expand Down Expand Up @@ -1938,6 +1940,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'XN' => 'Xion',
'XO' => 'Xolo',
'XR' => 'Xoro',
'XRL' => 'XREAL',
'XS' => 'Xshitou',
'XSM' => 'Xsmart',
'4X' => 'Xtouch',
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/console.yml
5DFE
Original file line number Diff line number Diff line change
Expand Up @@ -666,3 +666,21 @@
model: 4 Pro
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; U; Android 11; en-US; Retroid Pocket 3 Plus Build/RP1A.201005.001) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/78.0.3904.108 UCBrowser/13.4.5.1308 Mobile Safari/537.36
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: UC Browser
version: 13.4.5.1308
engine: Blink
engine_version: 78.0.3904.108
device:
type: console
brand: Retroid Pocket
model: 3 Plus
os_family: Android
browser_family: Unknown
Loading
Loading
0