Skip to content

Commit

Permalink
added detection Acer Iconia B1
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Oct 20, 2014
1 parent 42b5817 commit 4026fae
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 1 deletion.
72 changes: 72 additions & 0 deletions Tests/fixtures/tablet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,78 @@
model: Iconia A3
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; U; Android 4.1.2; fr-US; B1-710 Build/JZO54K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.1 Safari/534.30
os:
name: Android
short_name: AND
version: 4.1.2
client:
type: browser
name: Android Browser
short_name: AN
version:
engine: WebKit
device:
type: tablet
brand: AC
model: Iconia B1
os_family: Android
browser_family: Android Browser
-
user_agent: Mozilla/5.0 (Linux; U; Android 4.2.2; fr-US; b1-720 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.2 Safari/534.30
os:
name: Android
short_name: AND
version: 4.2.2
client:
type: browser
name: Android Browser
short_name: AN
version:
engine: WebKit
device:
type: tablet
brand: AC
model: Iconia B1
os_family: Android
browser_family: Android Browser
-
user_agent: Mozilla/5.0 (Linux; U; Android 4.2.2; ru-US; B1-711 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.1 Safari/534.30
os:
name: Android
short_name: AND
version: 4.2.2
client:
type: browser
name: Android Browser
short_name: AN
version:
engine: WebKit
device:
type: tablet
brand: AC
model: Iconia B1
os_family: Android
browser_family: Android Browser
-
user_agent: Mozilla/5.0 (Linux; Android 4.2.2; b1-721 Build/JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.114 Safari/537.36
os:
name: Android
short_name: AND
version: 4.2.2
client:
type: browser
name: Chrome
short_name: CH
version: 34.0.1847.114
engine: Blink
device:
type: tablet
brand: AC
model: Iconia B1
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; U; Android 3.2.1; th-th; A101 Build/HTK55D) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.13
os:
Expand Down
5 changes: 4 additions & 1 deletion regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ MicroMax:

# Acer
Acer:
regex: 'acer|a(?:101|110|200|210|211|500|501|510|511|700|701) Build|A1-830|A1-81[01]|A3-A1[01]'
regex: 'acer|a(?:101|110|200|210|211|500|501|510|511|700|701) Build|A1-830|A1-81[01]|A3-A1[01]|B1-7[12][01]'
device: 'smartphone'
models:
# explicit tablet models
Expand All @@ -179,6 +179,9 @@ Acer:
- regex: 'A3-A1[01]'
model: 'Iconia A3'
device: 'tablet'
- regex: 'B1-7[12][01]'
model: 'Iconia B1'
device: 'tablet'

- regex: 'Acer; ?([^;\)]+)'
model: '$1'
Expand Down

0 comments on commit 4026fae

Please sign in to comment.