Skip to content

Commit

Permalink
feat(device) detect new brand Positivo BGH model: Twist S
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezzzhak committed Jun 26, 2020
1 parent c88c4d2 commit b308658
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
20 changes: 20 additions & 0 deletions Tests/fixtures/smartphone-14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7174,4 +7174,24 @@
model: Twist (2018)
os_family: Android
browser_family: Android Browser
-
user_agent: Dalvik/2.1.0 (Linux; U;Android 6.0; Positivo Twist S Build/MRA58K)
os:
name: Android
short_name: AND
version: "6.0"
platform: ""
client:
type: browser
name: Android Browser
short_name: AN
version: ""
engine: WebKit
engine_version: ""
device:
type: smartphone
brand: 3P
model: Twist S
os_family: Android
browser_family: Android Browser

6 changes: 4 additions & 2 deletions regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14818,8 +14818,10 @@ Multilaser:

# Positivo BGH
Positivo BGH:
regex: '(Twist \(2018\))[);/ ]'
regex: '(Positivo Twist S|Twist \(2018\))[);/ ]'
device: 'smartphone'
models:
- regex: 'Twist \(2018\)[);/ ]'
model: 'Twist (2018)'
model: 'Twist (2018)'
- regex: 'Positivo Twist S[);/ ]'
model: 'Twist S'

0 comments on commit b308658

Please sign in to comment.