Skip to content

Commit

Permalink
Adds detection for neoCore brand and device
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu committed Jul 13, 2022
1 parent dfa8abb commit a6b9d6e
Show file tree
Hide file tree
Showing 3 changed files with 27 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 @@ -835,6 +835,7 @@ abstract class AbstractDeviceParser extends AbstractParser
'MG' => 'MyWigo',
'J3' => 'Mymaga',
'07' => 'MyGica',
'NEO' => 'neoCore',
'08' => 'Nabi',
'N7' => 'National',
'NC' => 'Navcity',
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 @@ -6584,3 +6584,21 @@
model: W109
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 8.1.0; neocore_N1G1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.117 Safari/537.36
os:
name: Android
version: 8.1.0
platform: ""
client:
type: browser
name: Chrome
version: 80.0.3987.117
engine: Blink
engine_version: 80.0.3987.117
device:
type: tablet
brand: neoCore
model: N1 G1
os_family: Android
browser_family: Chrome
8 changes: 8 additions & 0 deletions regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29627,6 +29627,14 @@ MyGica:
- regex: 'ATV(19[60]0|495 Pro 16G)'
model: 'ATV$1'

# neoCore (https://neocore.store/)
neoCore:
regex: 'neocore_'
device: 'tablet'
models:
- regex: 'neocore_N1G1(?:[);/ ]|$)'
model: 'N1 G1'

# Novex
Novex:
regex: '(NWX-40F171MSY)(?:[);/ ]|$)'
Expand Down

0 comments on commit a6b9d6e

Please sign in to comment.