Skip to content

Commit

Permalink
feat(device) detect brand Evercoss model: A65, A7B, A7R, A74A, A7L
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezzzhak committed Jun 21, 2020
1 parent e3001b6 commit 422717e
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 2 deletions.
100 changes: 100 additions & 0 deletions Tests/fixtures/smartphone-14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8815,4 +8815,104 @@
model: Amazing A4S
os_family: Android
browser_family: Android Browser
-
user_agent: Dalvik/2.1.0 (Linux; U; Android 6.0.1; EVERCOSS A65 Build/MOB31E)
os:
name: Android
short_name: AND
version: 6.0.1
platform: ""
client:
type: browser
name: Android Browser
short_name: AN
version: ""
engine: WebKit
engine_version: ""
device:
type: smartphone
brand: E9
model: A65
os_family: Android
browser_family: Android Browser
-
user_agent: Dalvik/1.6.0 (Linux; U; Android 4.4.2; EVERCOSS A7B Build/KOT49H)
os:
name: Android
short_name: AND
version: 4.4.2
platform: ""
client:
type: browser
name: Android Browser
short_name: AN
version: ""
engine: WebKit
engine_version: ""
device:
type: smartphone
brand: E9
model: A7B
os_family: Android
browser_family: Android Browser
-
user_agent: Dalvik/1.6.0 (Linux; U; Android 6.0; EVERCOSS A7R Build/JDQ39)
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: E9
model: A7R
os_family: Android
browser_family: Android Browser
-
user_agent: Dalvik/1.6.0 (Linux; U; Android 4.4.2; EVERCOSS_A74A Build/KOT49H)
os:
name: Android
short_name: AND
version: 4.4.2
platform: ""
client:
type: browser
name: Android Browser
short_name: AN
version: ""
engine: WebKit
engine_version: ""
device:
type: smartphone
brand: E9
model: A74A
os_family: Android
browser_family: Android Browser
-
user_agent: Dalvik/1.6.0 (Linux; U; Android 4.4.2; EVERCOSS A7L Build/Android4.4.2)
os:
name: Android
short_name: AND
version: 4.4.2
platform: ""
client:
type: browser
name: Android Browser
short_name: AN
version: ""
engine: WebKit
engine_version: ""
device:
type: smartphone
brand: E9
model: A7L
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 @@ -3892,11 +3892,13 @@ E-tel:

# Evercoss
Evercoss:
regex: 'A75A\* Build'
regex: 'EVERCOSS[ _]|(A75A\*)[/;) ]'
device: 'smartphone'
models:
- regex: 'A75A\*'
- regex: 'A75A\*[/;) ]'
model: 'A75A Star'
- regex: 'EVERCOSS[ _](A7[BRL]|A65|A74A)[/;) ]'
model: '$1'

# Eurostar
Eurostar:
Expand Down

0 comments on commit 422717e

Please sign in to comment.