Skip to content

Commit

Permalink
feat(device) detect brand Yu model: Yureka Plus (YU5510)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezzzhak committed Jun 25, 2020
1 parent 6f9460c commit e208392
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
20 changes: 20 additions & 0 deletions Tests/fixtures/smartphone-14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6613,4 +6613,24 @@
brand: T7
model: X98 Air III
os_family: Android
browser_family: Android Browser
-
user_agent: Dalvik/2.1.0 (Linux; U; Android 6.0.1; YU5510 Build/MOB31K)
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: Y1
model: Yureka Plus
os_family: Android
browser_family: Android Browser
4 changes: 3 additions & 1 deletion regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12863,13 +12863,15 @@ Yezz:

# Yu
Yu:
regex: '(YU5010[A]?|AO5510)[);/ ]'
regex: '(YU5[05]10[A]?|AO5510)[);/ ]'
device: 'smartphone'
models:
- regex: 'YU5010[A]?[);/ ]'
model: 'Yuphoria'
- regex: 'AO5510[);/ ]'
model: 'Yureka'
- regex: 'YU5510[);/ ]'
model: 'Yureka Plus'

# Yuandao
Yuandao:
Expand Down

0 comments on commit e208392

Please sign in to comment.