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: MeMobile, VOLIA and Detect device for exists brands #7562

Merged
merged 11 commits into from
Feb 6, 2024
2 changes: 2 additions & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -992,6 +992,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'M3' => 'Mecer',
'M3M' => 'M3 Mobile',
'0M' => 'Mecool',
'MEM' => 'Me Mobile',
sanchezzzhak marked this conversation as resolved.
Show resolved Hide resolved
'MC' => 'Mediacom',
'MK' => 'MediaTek',
'MD' => 'Medion',
Expand Down Expand Up @@ -1492,6 +1493,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'5S' => 'Sunvell',
'5Y' => 'Sunny',
'W8' => 'SUNWIND',
'W81' => 'Sunwell',
sanchezzzhak marked this conversation as resolved.
Show resolved Hide resolved
'SBX' => 'SuperBOX',
'SBR' => 'Sber',
'SGE' => 'Super General',
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 @@ -3239,3 +3239,21 @@
model: Galaxy Note 20 Ultra 5G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 13; Infinix X6711) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.154 Mobile Safari/537.36 OPR/78.5.4143.75924
os:
name: Android
version: "13"
platform: ""
client:
type: browser
name: Opera Mobile
version: 78.5.4143.75924
engine: Blink
engine_version: 117.0.5938.154
device:
type: phablet
brand: Infinix
model: Note 30 5G
os_family: Android
browser_family: Opera
Loading
Loading