Skip to content

Commit

Permalink
feat(device) detect brand Meizu model: M3 Note (M681C)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezzzhak committed Jun 25, 2020
1 parent e208392 commit e6a7241
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
22 changes: 21 additions & 1 deletion Tests/fixtures/smartphone-14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6633,4 +6633,24 @@
brand: Y1
model: Yureka Plus
os_family: Android
browser_family: Android Browser
browser_family: Android Browser
-
user_agent: Dalvik/2.1.0 (Linux; U; Android 5.1; M681C Build/LMY47I)
os:
name: Android
short_name: AND
version: "5.1"
platform: ""
client:
type: browser
name: Android Browser
short_name: AN
version: ""
engine: WebKit
engine_version: ""
device:
type: phablet
brand: M1
model: M3 Note
os_family: Android
browser_family: Android Browser
5 changes: 4 additions & 1 deletion regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7946,7 +7946,7 @@ MEEG:

# Meizu
Meizu:
regex: 'Meizu|MZ-[a-z]|(M04[05]|MZ-16s|M7[12]1C|M35[1356]|M612C|M578CA|M1813|M1822|M6T|MX[ -]?[2345](?: Pro)?|(?:MZ-)?m[1-6] note|M1852|M57[18]C|M3[ESX]|M031|m1 metal|M1 E|M2|M2 E|M5s Build|PRO 6|PRO 7-H)[);/ ]'
regex: 'Meizu|MZ-[a-z]|(M04[05]|MZ-16s|M7[12]1C|M35[1356]|M612C|M578CA|M1813|M1822|M681C|M6T|MX[ -]?[2345](?: Pro)?|(?:MZ-)?m[1-6] note|M1852|M57[18]C|M3[ESX]|M031|m1 metal|M1 E|M2|M2 E|M5s Build|PRO 6|PRO 7-H)[);/ ]'
device: 'smartphone'
models:
- regex: '(?:MZ-)?M571C'
Expand All @@ -7961,6 +7961,9 @@ Meizu:
model: 'M2E'
- regex: '(?:MZ-)?M578C[A]?|M2[);/ ]'
model: 'M2'
- regex: 'M681C[);/ ]'
model: 'M3 Note'
device: 'phablet'
- regex: 'M711C[);/ ]'
model: 'M6'
- regex: 'M721C[);/ ]'
Expand Down

0 comments on commit e6a7241

Please sign in to comment.