Skip to content

Commit

Permalink
refs #5585 - adds detection for ZTE Nubia Z11
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Mar 2, 2017
1 parent 2ccdbfc commit 9dc5f05
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
20 changes: 20 additions & 0 deletions Tests/fixtures/smartphone-4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7473,6 +7473,26 @@
model: Nubia X6
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0(Linux; Android 6.0.1; NX531J Build/MMB29M)AppleWebKit/537.36(KHTML, like Gecko)Chrome/54.0.2840.85MobileSafari/537.36
os:
name: Android
short_name: AND
version: "6.0.1"
platform:
client:
type: browser
name: Chrome
short_name: CH
version: "54.0.2840.85"
engine: Blink
engine_version:
device:
type: smartphone
brand: ZT
model: Nubia Z11
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; U; Android 4.2.2; ru-ru; NX402 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 Mobile UCBrowser/3.4.3.532
os:
Expand Down
4 changes: 3 additions & 1 deletion regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5147,7 +5147,7 @@ Zopo:

# ZTE
ZTE:
regex: 'ZTE|AxonPhone|([a-z0-9]+)_USA_Cricket|(?:Blade S6|N9[15]8St|NX(?:403A|40[X2]|507J|503A|505J|506J|508J|510J|511J|513J|601J)|Z331|N9510|N9180|N9101|N9515|N952[01]|N9810|N799D|[UV]9180|[UV]9815|Z768G|Z820|Z981)[);/ ]'
regex: 'ZTE|AxonPhone|([a-z0-9]+)_USA_Cricket|(?:Blade S6|N9[15]8St|NX(?:403A|40[X2]|507J|503A|505J|506J|508J|510J|511J|513J|531J|601J)|Z331|N9510|N9180|N9101|N9515|N952[01]|N9810|N799D|[UV]9180|[UV]9815|Z768G|Z820|Z981)[);/ ]'
device: 'smartphone'
models:
# explicit smartphone models
Expand Down Expand Up @@ -5189,6 +5189,8 @@ ZTE:
model: 'Nubia Z9 mini'
- regex: 'NX510J[);/ ]'
model: 'Nubia Z9 max'
- regex: 'NX531J[);/ ]'
model: 'Nubia Z11'
- regex: 'NX513J[);/ ]'
model: 'Nubia My Prague'
- regex: 'NX601J[);/ ]'
Expand Down

0 comments on commit 9dc5f05

Please sign in to comment.