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: GTX, Maunfeld, N-one, SAILF and Detect devices for exist brands #7529

Merged
merged 6 commits into from
Dec 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 @@ -582,6 +582,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'G9' => 'G-Touch',
'GFO' => 'Gfone',
'GTM' => 'GTMEDIA',
'GTX' => 'GTX',
'0G' => 'GFive',
'GM' => 'Garmin-Asus',
'GA' => 'Gateway',
Expand Down Expand Up @@ -954,6 +955,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'M0' => 'Maze',
'YM' => 'Maze Speed',
'87' => 'Malata',
'MAU' => 'Maunfeld',
'28' => 'MBOX',
'FK' => 'MBI',
'3D' => 'MDC Store',
Expand Down Expand Up @@ -1108,6 +1110,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'NUV' => 'NuVision',
'NV' => 'Nvidia',
'NY' => 'NYX Mobile',
'NON' => 'N-one',
'O3' => 'O+',
'OT' => 'O2',
'O7' => 'Oale',
Expand Down Expand Up @@ -1320,6 +1323,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'SEW' => 'Sewoo',
'SE1' => 'SEEWO',
'Y7' => 'Saiet',
'SLF' => 'SAILF',
'X1' => 'Safaricom',
'SG' => 'Sagem',
'4L' => 'Salora',
Expand Down
54 changes: 54 additions & 0 deletions Tests/fixtures/phablet-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1893,3 +1893,57 @@
model: Redmi Note 12 Pro Speed
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 14; Pixel Fold) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.232 YaBrowser/23.11.0.232.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "14"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.11.0.232.00
engine: Blink
engine_version: 118.0.5993.232
device:
type: phablet
brand: Google
model: Pixel Fold
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; arm_64; Android 13; 2312DRA50C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.5845.83 YaBrowser/23.9.5.83.00 SA/3 Mobile Safari/537.36
os:
name: Android
version: "13"
platform: ARM
client:
type: browser
name: Yandex Browser
version: 23.9.5.83.00
engine: Blink
engine_version: 116.0.5845.83
device:
type: phablet
brand: Xiaomi
model: Redmi Note 13 Pro
os_family: Android
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 12; 23027RAD4I) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.80 Mobile Safari/537.36
os:
name: Android
version: "12"
platform: ""
client:
type: browser
name: Chrome Mobile
version: 118.0.5993.80
engine: Blink
engine_version: 118.0.5993.80
device:
type: phablet
brand: Xiaomi
model: Redmi Note 12
os_family: Android
browser_family: Chrome
Loading