Skip to content

Commit

Permalink
feat(device) detect new brand E-Ceros model: Revolution (CT9716)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezzzhak committed Jun 25, 2020
1 parent a216ad1 commit 262e8ee
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
1 change: 1 addition & 0 deletions Parser/Device/DeviceParserAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ abstract class DeviceParserAbstract extends ParserAbstract
'D8' => 'Droxio',
'DU' => 'Dune HD',
'EB' => 'E-Boda',
'2E' => 'E-Ceros',
'EA' => 'EBEST',
'EC' => 'Ericsson',
'E7' => 'Ergo',
Expand Down
22 changes: 20 additions & 2 deletions Tests/fixtures/smartphone-14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6454,5 +6454,23 @@
model: AP-719
os_family: Android
browser_family: Android Browser


-
user_agent: Dalvik/1.6.0 (Linux; U; Android 4.4.4; CT9716 Build/KTU84Q)
os:
name: Android
short_name: AND
version: 4.4.4
platform: ""
client:
type: browser
name: Android Browser
short_name: AN
version: ""
engine: WebKit
engine_version: ""
device:
type: tablet
brand: 2E
model: Revolution
os_family: Android
browser_family: Android Browser
10 changes: 9 additions & 1 deletion regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14736,4 +14736,12 @@ Contixo:
device: 'tablet'
models:
- regex: 'CX-1045 3G[);/ ]'
model: 'CX-1045 3G'
model: 'CX-1045 3G'

# E-Ceros
'E-Ceros':
regex: '(?:CT9716)[);/ ]'
device: 'tablet'
models:
- regex: 'CT9716[);/ ]'
model: 'Revolution'

0 comments on commit 262e8ee

Please sign in to comment.