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: AngelTech, Heimat and Detect devices for exist brands #7660

Merged
merged 3 commits into from
Apr 21, 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 @@ -155,6 +155,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'60' => 'Andowl',
'ANX' => 'ANXONIT',
'6J' => 'Angelcare',
'ANG' => 'AngelTech',
'7A' => 'Anry',
'A0' => 'ANS',
'74' => 'Anker',
Expand Down Expand Up @@ -695,6 +696,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'ZH' => 'Hezire',
'HEX' => 'HexaByte',
'HEW' => 'HeadWolf',
'HEI' => 'Heimat',
'HL' => 'Hi-Level',
'3H' => 'Hi',
'HIB' => 'Hiberg',
Expand Down
57 changes: 57 additions & 0 deletions Tests/fixtures/phablet-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4297,3 +4297,60 @@
model: Pova 6 Pro 5G
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Mobile Safari/537.36
headers:
brands:
- brand: Google Chrome
version: '123'
- brand: Not:A-Brand
version: '8'
- brand: Chromium
version: '123'
fullVersionList:
- brand: Google Chrome
version: 123.0.6312.99
- brand: Not:A-Brand
version: 8.0.0.0
- brand: Chromium
version: 123.0.6312.99
mobile: '1'
model: T612B
platform: Android
platformVersion: 13.0.0
uaFullVersion: 123.0.6312.99
wow64: '0'
os:
name: Android
version: 13.0.0
platform: ''
client:
type: browser
name: Chrome Mobile
version: 123.0.6312.99
engine: Blink
engine_version: 123.0.0.0
device:
type: phablet
brand: TCL
model: NxtPaper 40
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 13; SM-N985F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.149 Mobile Safari/537.36 OPR/81.3.4292.78688
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Opera Mobile
version: 81.3.4292.78688
engine: Blink
engine_version: 122.0.6261.149
device:
type: phablet
brand: Samsung
model: Galaxy Note 20 Ultra
os_family: Android
browser_family: Opera
Loading
Loading