Skip to content

Commit

Permalink
Adds detection for eNOVA brand and device
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu committed Jul 13, 2022
1 parent 8acbb11 commit a13f41d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions Parser/Device/AbstractDeviceParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'DRE' => 'DreamTab',
'DU' => 'Dune HD',
'UD' => 'DUNNS Mobile',
'ENO' => 'eNOVA',
'EB' => 'E-Boda',
'EJ' => 'Engel',
'ENA' => 'ENACOM',
Expand Down
18 changes: 18 additions & 0 deletions Tests/fixtures/tablet-7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6548,3 +6548,21 @@
model: Nexo TAB7
os_family: Android
browser_family: Opera
-
user_agent: Mozilla/5.0 (Linux; Android 9; eNOVA TAB 10 LTE) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.88 Safari/537.36
os:
name: Android
version: "9"
platform: ""
client:
type: browser
name: Chrome
version: 99.0.4844.88
engine: Blink
engine_version: 99.0.4844.88
device:
type: tablet
brand: eNOVA
model: Tab 10" LTE
os_family: Android
browser_family: Chrome
9 changes: 9 additions & 0 deletions regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30011,6 +30011,15 @@ DUNNS Mobile:
device: 'tablet'
model: '$1'

# eNOVA
eNOVA:
regex: 'eNOVA'
device: 'smartphone'
models:
- regex: 'eNOVA TAB 10 LTE'
device: 'tablet'
model: 'Tab 10" LTE'

# Amino or Aminocom (www.amino.tv)
Amino:
regex: '(?:Amigo7x?(?:YUF|SCB)?)(?:[);/ ]|$)'
Expand Down

0 comments on commit a13f41d

Please sign in to comment.