Skip to content

Commit

Permalink
feat(device) detect brand NextBook models: Ares A10 (NX16A10132S), Ar…
Browse files Browse the repository at this point in the history
…es A11 (NX16A11264), Ares A8 (NX16A8116K)

feat(device) detect brand SWISSMOBILITY models: ZUR70016, ZUR70016W, ZUR700R, ZUR700W, ZUR805A
feat(device) detect brand Symphony model: ZVIII
feat(device) detect brand Zidoo model: X20 Pro
feat(device) detect brand Odys models: Xelio 10 HD, Xelio 10 HD Plus 3G, Junior T8 Pro

issue matomo-org#6355
  • Loading branch information
sanchezzzhak committed Nov 27, 2020
1 parent f146626 commit 74921e2
Show file tree
Hide file tree
Showing 2 changed files with 258 additions and 5 deletions.
235 changes: 235 additions & 0 deletions Tests/fixtures/smartphone-18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7989,4 +7989,239 @@
model: Mars Touch
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 6.0.1; NX16A10132S) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36
os:
name: Android
version: 6.0.1
platform: ""
client:
type: browser
name: Chrome
version: 83.0.4103.106
engine: Blink
engine_version: ""
device:
type: tablet
brand: NextBook
model: Ares A10
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 6.0.1; NX16A11264) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.96 Safari/537.36
os:
name: Android
version: 6.0.1
platform: ""
client:
type: browser
name: Chrome
version: 78.0.3904.96
engine: Blink
engine_version: ""
device:
type: tablet
brand: NextBook
model: Ares A11
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 6.0.1; NX16A8116K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Safari/537.36
os:
name: Android
version: 6.0.1
platform: ""
client:
type: browser
name: Chrome
version: 80.0.3987.162
engine: Blink
engine_version: ""
device:
type: tablet
brand: NextBook
model: Ares A8
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 6.0.1; ZUR70016) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.105 Safari/537.36
os:
name: Android
version: 6.0.1
platform: ""
client:
type: browser
name: Chrome
version: 72.0.3626.105
engine: Blink
engine_version: ""
device:
type: tablet
brand: SWISSMOBILITY
model: ZUR70016
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 6.0.1; ZUR70016W) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.119 Safari/537.36
os:
name: Android
version: 6.0.1
platform: ""
client:
type: browser
name: Chrome
version: 80.0.3987.119
engine: Blink
engine_version: ""
device:
type: tablet
brand: SWISSMOBILITY
model: ZUR70016W
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 6.0.1; ZUR700R) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Safari/537.36
os:
name: Android
version: 6.0.1
platform: ""
client:
type: browser
name: Chrome
version: 71.0.3578.99
engine: Blink
engine_version: ""
device:
type: tablet
brand: SWISSMOBILITY
model: ZUR700R
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 6.0.1; ZUR700W) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.136 Safari/537.36
os:
name: Android
version: 6.0.1
platform: ""
client:
type: browser
name: Chrome
version: 79.0.3945.136
engine: Blink
engine_version: ""
device:
type: tablet
brand: SWISSMOBILITY
model: ZUR700W
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 6.0.1; ZUR805A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.117 Safari/537.36
os:
name: Android
version: 6.0.1
platform: ""
client:
type: browser
name: Chrome
version: 80.0.3987.117
engine: Blink
engine_version: ""
device:
type: tablet
brand: SWISSMOBILITY
model: ZUR805A
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 6.0.1; ZVIII) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Mobile Safari/537.36
os:
name: Android
version: 6.0.1
platform: ""
client:
type: browser
name: Chrome Mobile
version: 83.0.4103.106
engine: Blink
engine_version: ""
device:
type: smartphone
brand: Symphony
model: ZVIII
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 6.0.1; ZIDOO_X20 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36
os:
name: Android
version: 6.0.1
platform: ""
client:
type: browser
name: Chrome
version: 70.0.3538.110
engine: Blink
engine_version: ""
device:
type: tv
brand: Zidoo
model: X20 Pro
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 6.0.1; XELIO_10_HD Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/49.0.2623.105 Safari/537.36
os:
name: Android
version: 6.0.1
platform: ""
client:
type: browser
name: Chrome Webview
version: 49.0.2623.105
engine: Blink
engine_version: ""
device:
type: tablet
brand: Odys
model: Xelio 10 HD
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 6.0.1; XELIO10_HD_PLUS_3G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.16 Safari/537.36
os:
name: Android
version: 6.0.1
platform: ""
client:
type: browser
name: Chrome
version: 75.0.3770.16
engine: Blink
engine_version: ""
device:
type: tablet
brand: Odys
model: Xelio 10 HD Plus 3G
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 4.4.2; JuniorT8Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
os:
name: Android
version: 4.4.2
platform: ""
client:
type: browser
name: Chrome
version: 78.0.3904.108
engine: Blink
engine_version: ""
device:
type: tablet
brand: Odys
model: Junior T8 Pro
os_family: Android
browser_family: Chrome


28 changes: 23 additions & 5 deletions regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9870,13 +9870,19 @@ NeuImage:

# NextBook
NextBook:
regex: 'Next[0-9]|NX785QC8G|NXM900MC|NX008HD8G|NX010HI8G|NXM908HC|NXM726|NXA8QC116'
regex: 'Next[0-9]|NX(?:785QC8G|M900MC|008HD8G|010HI8G|M908HC|M726|16A8116K|A8QC116|16A10132S|16A11264)'
device: 'tablet'
models:
- regex: 'NX008HD8G'
model: 'Premium 8 HD'
- regex: 'NXA8QC116'
model: 'Ares 8'
- regex: 'NX16A8116K'
model: 'Ares A8'
- regex: 'NX16A10132S'
model: 'Ares A10'
- regex: 'NX16A11264'
model: 'Ares A11'
- regex: 'NXM908HC'
model: 'Premium 9'
- regex: 'NX010HI8G'
Expand Down Expand Up @@ -10092,7 +10098,7 @@ O2:

# Odys
Odys:
regex: 'ODYS[ _-]|IEOS[_ ]([^/;]+)|NOON(?:_PRO)? Build|SPACE10_(?:PLUS|PRO)_3G|THOR_?10|TAO_X10|RAPID_?(?:10|7)_?LTE|MAVEN_?10_|CONNECT[78]|ELEMENT10_PLUS_3G|XELIO[_0-9P]|ADM816HC|ADM8000KP|NEO6_LTE|EOS10|AEON|FALCON_10_PLUS_3G|FUSION|THANOS_10|MAVEN_X10_HD(?:_LTE)?|JUNIOR_8_PRO|(?:NOVA|PYRO)_X?7_PLUS_3G|UNO_X8|SLADE_X55'
regex: 'ODYS[ _-]|IEOS[_ ]([^/;]+)|NOON(?:_PRO)? Build|SPACE10_(?:PLUS|PRO)_3G|THOR_?10|TAO_X10|RAPID_?(?:10|7)_?LTE|MAVEN_?10_|CONNECT[78]|ELEMENT10_PLUS_3G|XELIO[_0-9P]|ADM816HC|ADM8000KP|NEO6_LTE|EOS10|AEON|FALCON_10_PLUS_3G|FUSION|THANOS_10|MAVEN_X10_HD(?:_LTE)?|JUNIOR_8_PRO|JuniorT8Pro|(?:NOVA|PYRO)_X?7_PLUS_3G|UNO_X8|SLADE_X55'
device: 'tablet'
models:
- regex: 'XELIO[_ ]A10'
Expand All @@ -10109,6 +10115,10 @@ Odys:
model: 'Xelio 10 Xtreme'
- regex: 'XELIO10_PLUS_3G'
model: 'Xelio 10 Plus 3G'
- regex: 'XELIO10_HD_PLUS_3G'
model: 'Xelio 10 HD Plus 3G'
- regex: 'XELIO_10_HD'
model: 'Xelio 10 HD'
- regex: 'ELEMENT10_PLUS_3G'
model: 'Element 10 Plus 3G'
- regex: 'CONNECT8PLUS'
Expand Down Expand Up @@ -10139,6 +10149,8 @@ Odys:
model: 'Space 10 Pro 3G'
- regex: 'THOR_?10 Build'
model: 'Thor 10'
- regex: 'JuniorT8Pro'
model: 'Junior T8 Pro'
- regex: 'JUNIOR_8_PRO'
model: 'Junior 8 Pro'
- regex: 'ADM816HC'
Expand Down Expand Up @@ -12525,7 +12537,7 @@ SunVan:

# SWISSMOBILITY
SWISSMOBILITY:
regex: 'SCHR9GR|ZUR722M'
regex: 'SCHR9GR|ZUR(?:722M|70016W?|700[RW]|805A)'
device: 'smartphone'
models:
- regex: 'SCHR9GR'
Expand All @@ -12534,6 +12546,10 @@ SWISSMOBILITY:
device: 'phablet'
model: 'Z72 go'

- regex: 'ZUR(70016W?|700[RW]|805A)(?:[);/ ]|$)'
device: 'tablet'
model: 'ZUR$1'

# Thomson
Thomson:
regex: '(?:Primo(7|8)|QM73[45]-8G|QM734-2|QM736-8G\(HD\)|8950|MID1002|5014G)(?:[);/ ]|$)|(?:Tlink|Every)[0-9]+'
Expand Down Expand Up @@ -13256,9 +13272,11 @@ Amazon:

# Symphony
Symphony:
regex: 'SYMPHONY[ \_]([a-z0-9]+)|roar (V20|E80)'
regex: 'SYMPHONY[ \_]([a-z0-9]+)|(?:roar (?:V20|E80))|ZVIII(?:[);/ ]|$)'
device: 'smartphone'
models:
- regex: 'ZVIII'
model: 'ZVIII'
- regex: 'roar V20'
model: 'Roar V20'
- regex: 'roar E80'
Expand Down Expand Up @@ -16760,7 +16778,7 @@ Soyes:

# Zidoo
Zidoo:
regex: 'ZIDOO[ _](H6 Pro|X6 Pro|X9S|Z10|X[158])(?:[);/ ]|$)'
regex: 'ZIDOO[ _](H6 Pro|X6 Pro|X9S|Z10|X[158]|X20 Pro)(?:[);/ ]|$)'
device: 'tv'
model: '$1'

Expand Down

0 comments on commit 74921e2

Please sign in to comment.