Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Detect new brands: GOLDBERG, Lingbo, Padpro, SoulLink, Tuvio WS and Detect devices for exist brands #7684

Merged
merged 4 commits into from
May 16, 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
6 changes: 6 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'GB' => 'Gol Mobile',
'GL' => 'Goly',
'GOL' => 'GoldMaster',
'GOB' => 'GOLDBERG',
'GX' => 'GLX',
'G5' => 'Gome',
'G1' => 'GoMobile',
Expand Down Expand Up @@ -967,6 +968,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'LIN' => 'Linsay',
'LF' => 'Lifemaxx',
'LI' => 'Lingwin',
'LIB' => 'Lingbo',
'LIM' => 'Lime',
'LJ' => 'L-Max',
'LW' => 'Linnex',
Expand Down Expand Up @@ -1256,6 +1258,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'7P' => 'P-UP',
'PRA' => 'Pacific Research Alliance',
'PAG' => 'PAGRAER',
'PAD' => 'Padpro',
'YP' => 'Paladin',
'PM' => 'Palm',
'PN' => 'Panacom',
Expand Down Expand Up @@ -1507,6 +1510,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'SO' => 'Sony',
'SE' => 'Sony Ericsson',
'X2' => 'Soundmax',
'SUL' => 'SoulLink',
'8S' => 'Soyes',
'77' => 'SONOS',
'68' => 'Soho Style',
Expand Down Expand Up @@ -1666,6 +1670,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'5T' => 'TurboKids',
'UR' => 'Turkcell',
'4U' => 'TuCEL',
'TUV' => 'Tuvio',
'2U' => 'Türk Telekom',
'TV' => 'TVC',
'TW' => 'TWM',
Expand Down Expand Up @@ -1919,6 +1924,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'Z4' => 'ZH&K',
'OW' => 'öwn',
'WBF' => 'Webfleet',
'WSS' => 'WS',
// legacy brands, might be removed in future versions
'WB' => 'Web TV',
'XX' => 'Unknown',
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 @@ -4408,3 +4408,21 @@
model: X Fold 3
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 14; TECNO LI7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 124.0.0.0
engine: Blink
engine_version: 124.0.0.0
device:
type: phablet
brand: Tecno Mobile
model: Pova 6
os_family: Android
browser_family: Chrome
Loading
Loading