Skip to content

Commit

Permalink
feat(device) detect brand Daewoo model: Archive 7P (DTA-07IDRF)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezzzhak committed Jun 21, 2020
1 parent 2528c13 commit 8a79b41
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
22 changes: 21 additions & 1 deletion Tests/fixtures/smartphone-14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8954,4 +8954,24 @@
brand: OX
model: AT101-1116
os_family: Android
browser_family: Android Browser
browser_family: Android Browser
-
user_agent: Dalvik/1.6.0 (Linux; U; Android 4.1.1; DTA-07IDRF Build/JRO03H)
os:
name: Android
short_name: AND
version: 4.1.1
platform: ""
client:
type: browser
name: Android Browser
short_name: AN
version: ""
engine: WebKit
engine_version: ""
device:
type: tablet
brand: D5
model: Archive 7P
os_family: Android
browser_family: Android Browser
8 changes: 6 additions & 2 deletions regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14036,11 +14036,15 @@ NewsMy:

# Daewoo
Daewoo:
regex: 'Daewoo'
device: 'tv'
regex: 'Daewoo|(DTA-07IDRF)[);/ ]'
device: 'tablet'
models:
- regex: '(DTA-07IDRF)[);/ ]'
model: 'Archive 7P'

- regex: 'Daewoo (Android TV 638)[);/ ]'
model: '$1'
device: 'tv'

# Vesta
Vesta:
Expand Down

0 comments on commit 8a79b41

Please sign in to comment.