8000 Detect new brands: ANBERNIC, GoldStar, MAGCH and Detect devices for exist brands by sanchezzzhak · Pull Request #7698 · 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: ANBERNIC, GoldStar, MAGCH and Detect devices for exist brands #7698

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
May 28, 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 @@ -155,6 +155,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'54' => 'AMCV',
'60' => 'Andowl',
'ANX' => 'ANXONIT',
'ANC' => 'ANBERNIC',
'6J' => 'Angelcare',
'ANG' => 'AngelTech',
'7A' => 'Anry',
Expand Down Expand Up @@ -665,6 +666,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'GB' => 'Gol Mobile',
'GL' => 'Goly',
'GOL' => 'GoldMaster',
'GOS' => 'GoldStar',
'GOB' => 'GOLDBERG',
'GX' =&g 8000 t; 'GLX',
'G5' => 'Gome',
Expand Down Expand Up @@ -1003,6 +1005,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'MJ' => 'Majestic',
'FQ' => 'Mafe',
'MAG' => 'MAG',
'MA2' => 'MAGCH',
'6Y' => 'Magicsee',
'23' => 'Magnus',
'NH' => 'Manhattan',
Expand Down
36 changes: 36 additions & 0 deletions Tests/fixtures/console.yml
8000
Original file line number Diff line number Diff line change
Expand Up @@ -612,3 +612,39 @@
model: Edge 5G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 12; RG405V) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.96 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 78.0.3904.96
engine: Blink
engine_version: 78.0.3904.96
device:
type: console
brand: ANBERNIC
model: RG405V
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 12; RG505) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.96 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 78.0.3904.96
engine: Blink
engine_version: 78.0.3904.96
device:
type: console
brand: ANBERNIC
model: RG505
os_family: Android
browser_family: Chrome
18 changes: 18 additions & 0 deletions Tests/fixtures/phablet-1.yml
6E46
Original file line number Diff line number Diff line change
Expand Up @@ -4552,3 +4552,21 @@
model: Redmi Note 13 5G
os_family: Android
browser_family: Android Browser
-
user_agent: Mozilla/5.0 (Linux; U; Android 13; uz-uz; Redmi Note 12R Build/TKQ1.221114.001) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/112.0.5615.136 Mobile Safari/537.36 XiaoMi/MiuiBrowser/14.6.0-gn
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: MIUI Browser
version: 14.6.0
engine: Blink
engine_version: 112.0.5615.136
device:
type: phablet
brand: Xiaomi
model: Redmi Note 12R
os_family: Android
browser_family: Android Browser
Loading
Loading
0