Skip to content

Commit

Permalink
feat(device) detect brand Teclast model: X98 Air III
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezzzhak committed Jun 25, 2020
1 parent da2be4c commit 6f9460c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
20 changes: 20 additions & 0 deletions Tests/fixtures/smartphone-14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6594,3 +6594,23 @@
model: Pixi Unite
os_family: Android
browser_family: Android Browser
-
user_agent: Dalvik/2.1.0 (Linux; U; Android 5.0; X98 Air III Build/LRX21V)
os:
name: Android
short_name: AND
version: "5.0"
platform: ""
client:
type: browser
name: Android Browser
short_name: AN
version: ""
engine: WebKit
engine_version: ""
device:
type: tablet
brand: T7
model: X98 Air III
os_family: Android
browser_family: Android Browser
8 changes: 5 additions & 3 deletions regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11443,7 +11443,7 @@ TCL:

# Teclast
Teclast:
regex: 'Teclast|Tbook|T30_(ROW|EEA)|T10\(E3C6\)'
regex: 'Teclast|X98 Air III|Tbook|T30_(ROW|EEA)|T10\(E3C6\)'
device: 'tablet'
models:
- regex: 'Tbook[_ -]([^;/]+) Build'
Expand All @@ -11452,6 +11452,8 @@ Teclast:
model: 'T10'
- regex: 'T30_(ROW|EEA)'
model: 'T30 $1'
- regex: 'X98 Air III[);/ ]'
model: 'X98 Air III'
- regex: 'Teclast[_ -]([^;/]+) Build'
model: '$1'

Expand Down Expand Up @@ -13468,7 +13470,7 @@ Zopo:

# ZTE
ZTE:
regex: 'ZTE|AxonPhone|([a-z0-9]+)_USA_Cricket|(?:Blade (?:L110|L[2357]|L7A|S6|V[6789]|V8Q|V8 SE|V9 VITA|X7|A(310|460|465|475|520|530|602)|V580)|N9[15]8St|NX(?:403A|404H|406E|40[X2]|507J|503A|505J|506J|508J|510J|512J|511J|513J|521J|523J_V1|529J|531J|541J|5[48]9J|551J|563J|569[HJ]|573J|575J|59[157]J|60[1689]J|61[12679]J|62[79]J|659J|907J)|N818S|N951[0579]|N9180|N9101|N913[267]|N952[01]|N9560|N9810|N799D|[UV]9180|[UV]9815|Z(?:233V|331|5031O|559DL|667T|768G|792|81[25]|82[08]|83[12359]|85[125]|851M|(557|71[67]|798|836|861|916)BL|986DL|(232|718|828)TL|(233|353|558|717|799|837|862|899|917|963VL|955A|95[678]|965|97[018]|98[1237]|986U|999|936L))|Apex2|G (LTE|Lux)|Vec|Z959|Z3001S|KIS II Max|Kis 3|K3DX-V5G|Z930L|Blade (A5 2019-T|A6 MAX|A0622)|Nubia Z9|Ctyon-A9)[);/ ]'
regex: 'ZTE|AxonPhone|([a-z0-9]+)_USA_Cricket|(?:Blade (?:L110|L[2357]|L7A|S6|V[6789]|V8Q|V8 SE|V9 VITA|X7|A(310|460|465|475|520|530|602)|V580)|N9[15]8St|NX(?:403A|404H|406E|40[X2]|507J|503A|505J|506J|508J|510J|512J|511J|513J|521J|523J_V1|529J|531J|541J|5[48]9J|551J|563J|569[HJ]|573J|575J|59[157]J|60[1689]J|61[12679]J|62[79]J|659J|907J)|N818S|N951[0579]|N9180|N9101|N913[267]|N952[01]|N9560|N9810|N799D|[UV]9180|[UV]9815|Z(?:233V|331|5031O|559DL|667T|768G|792|81[25]|82[08]|83[12359]|85[125]|851M|(557|71[67]|798|836|861|916)BL|986DL|(232|718|828)TL|(?:233|353|558|717|799|837|862|899|917|963)VL|955A|95[678]|965|97[018]|98[1237]|986U|999|936L)|Apex2|G (LTE|Lux)|Vec|Z959|Z3001S|KIS II Max|Kis 3|K3DX-V5G|Z930L|Blade (A5 2019-T|A6 MAX|A0622)|Nubia Z9|Ctyon-A9)[);/ ]'
device: 'smartphone'
models:
# explicit smartphone models
Expand Down Expand Up @@ -13712,7 +13714,7 @@ ZTE:
model: 'Blade X Max'
- regex: 'Z717[BV]L[);/ ]'
model: 'Citrine LTE'
- regex: 'Z233VL'
- regex: 'Z233VL[);/ ]'
model: 'Cymbal-C LTE'
- regex: 'Z233V'
model: 'Cymbal LTE'
Expand Down

0 comments on commit 6f9460c

Please sign in to comment.