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: ANXONIT, Ctroniq, Punos, TopDevice and Detect devices for exist brands: OPPO, POCO, Pico, Tecno Mobile, DEXP #7384

Merged
merged 3 commits into from
Apr 11, 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
4 changes: 4 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'3J' => 'Amino',
'54' => 'AMCV',
'60' => 'Andowl',
'ANX' => 'ANXONIT',
'6J' => 'Angelcare',
'7A' => 'Anry',
'A0' => 'ANS',
Expand Down Expand Up @@ -337,6 +338,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'0C' => 'Crony',
'C1' => 'Crosscall',
'4W' => 'Crown',
'CTR' => 'Ctroniq',
'CU' => 'Cube',
'CB' => 'CUBOT',
'CV' => 'CVTE',
Expand Down Expand Up @@ -1166,6 +1168,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'7O' => 'Polestar',
'PU' => 'PULID',
'UP' => 'Purism',
'PUN' => 'Punos',
'QFX' => 'QFX',
'Q7' => 'Q-Box',
'QH' => 'Q-Touch',
Expand Down Expand Up @@ -1435,6 +1438,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'42' => 'Topway',
'TO' => 'Toplux',
'TOD' => 'TOPDON',
'TOP' => 'TopDevice',
'7T' => 'Torex',
'TOR' => 'Torque',
'6O' => 'TOSCIDO',
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/car_browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -629,3 +629,21 @@
model: "10"
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 11; VC8300) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "11"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 108.0.0.0
engine: Blink
engine_version: 108.0.0.0
device:
type: car browser
brand: Zebra
model: VC8300
os_family: Android
browser_family: Chrome
Loading