Skip to content

Commit

Permalink
refs #5585 - adds detection for ZTE Nubia Z11 mini
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Mar 2, 2017
1 parent 128a20b commit df1fdd9
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
40 changes: 40 additions & 0 deletions Tests/fixtures/smartphone-4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7613,6 +7613,46 @@
model: Nubia Z11
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 5.1.1; NX529J Build/LMY47V) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.124 Mobile Safari/537.36
os:
name: Android
short_name: AND
version: "5.1.1"
platform:
client:
type: browser
name: Chrome Mobile
short_name: CM
version: "53.0.2785.124"
engine: Blink
engine_version:
device:
type: smartphone
brand: ZT
model: Nubia Z11 mini
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 6.0.1; NX549J Build/MOB31K; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/55.0.2883.91 Mobile
os:
name: Android
short_name: AND
version: "6.0.1"
platform:
client:
type: browser
name: Chrome Mobile
short_name: CM
version: "55.0.2883.91"
engine: Blink
engine_version:
device:
type: smartphone
brand: ZT
model: Nubia Z11 mini S
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
6 changes: 5 additions & 1 deletion regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5153,7 +5153,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|531J|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|529J|531J|549J|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 @@ -5197,6 +5197,10 @@ ZTE:
model: 'Nubia Z9 max'
- regex: 'NX531J[);/ ]'
model: 'Nubia Z11'
- regex: 'NX529J[);/ ]'
model: 'Nubia Z11 mini'
- regex: 'NX549J[);/ ]'
model: 'Nubia Z11 mini S'
- regex: 'NX513J[);/ ]'
model: 'Nubia My Prague'
- regex: 'NX601J[);/ ]'
Expand Down

0 comments on commit df1fdd9

Please sign in to comment.