Skip to content

Commit

Permalink
Improve device detection (#5553)
Browse files Browse the repository at this point in the history
* Properly detect Alcatel P310X

* Detect Kiano tablets

* Detect Manta MID901

* Additional detection of GOCLEVER tablets

* Support for GOCLEVER ELIPSO tablet

* Detect Orange FunTab tablets

* Detect Philips PI3210G as tablet

* Add support for Manta tablets

* Improve detection of Kiano SlimTab

* Add detection of myPhone MyTab 10 II

* Improve Kiano Slim Tab detection

* Add Slim Tab 10 detection

* Add detection of Acer Iconia One 10

* Add detection of Kiano Intelect 7

* Detect Sony Xperia X

* Detect Alcatel One Touch Pop 3 Dual SIM

* Detect Alcatel One Touch Idol 2S

* Improve detection of prestigio smartphones

* Improve detection of Doogie Titans2 devices

* Detect Alcatel One Touch Pop 4

* Fix detection of Xiaomi MI 4C

* Detect Wiko Lenny 2

* Detect more Acer Liquid 5xx devices

* Detect Sony Xperia E5

* Detect Cat B15Q

* Detect Toshiba EXCITE AT10-A
  • Loading branch information
DaimonPl authored and sgiehl committed Oct 31, 2016
1 parent d52da0f commit 673afc2
Show file tree
Hide file tree
Showing 5 changed files with 705 additions and 49 deletions.
262 changes: 261 additions & 1 deletion Tests/fixtures/smartphone-4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6792,6 +6792,266 @@
device:
type: smartphone
brand: PR
model: MultiPhone 8500 Duo
model: PSP8500DUO
os_family: Windows Mobile
browser_family: Internet Explorer
-
user_agent: Mozilla/5.0 (Linux; Android 6.0.1; F5121 Build/34.0.A.2.292) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36
os:
name: Android
short_name: AND
version: "6.0.1"
platform:
client:
type: browser
name: Chrome Mobile
short_name: CM
version: "52.0.2743.98"
engine: Blink
engine_version:
device:
type: smartphone
brand: SO
model: Xperia X
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 5.1; 5015D Build/LMY47I) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36
os:
name: Android
short_name: AND
version: "5.1"
platform:
client:
type: browser
name: Chrome Mobile
short_name: CM
version: "52.0.2743.98"
engine: Blink
engine_version:
device:
type: smartphone
brand: AL
model: One Touch Pop 3 Dual SIM
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 4.3; 6050Y Build/JLS36C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36
os:
name: Android
short_name: AND
version: "4.3"
platform:
client:
type: browser
name: Chrome Mobile
short_name: CM
version: "52.0.2743.98"
engine: Blink
engine_version:
device:
type: smartphone
brand: AL
model: One Touch Idol 2S
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 4.4.2; PSP5504DUO Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36
os:
name: Android
short_name: AND
version: "4.4.2"
platform:
client:
type: browser
name: Chrome Mobile
short_name: CM
version: "52.0.2743.98"
engine: Blink
engine_version:
device:
type: smartphone
brand: PR
model: PSP5504DUO
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 4.4.2; PSP3502DUO Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36
os:
name: Android
short_name: AND
version: "4.4.2"
platform:
client:
type: browser
name: Chrome Mobile
short_name: CM
version: "30.0.0.0"
engine: Blink
engine_version:
device:
type: smartphone
brand: PR
model: PSP3502DUO
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 4.4.2; PSP5453DUO Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36
os:
name: Android
short_name: AND
version: "4.4.2"
platform:
client:
type: browser
name: Chrome Mobile
short_name: CM
version: "52.0.2743.98"
engine: Blink
engine_version:
device:
type: smartphone
brand: PR
model: PSP5453DUO
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 5.0; Titans2_DG700 Build/LRX21M) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/37.0.0.0 Mobile Safari/537.36
os:
name: Android
short_name: AND
version: "5.0"
platform:
client:
type: browser
name: Chrome Mobile
short_name: CM
version: "37.0.0.0"
engine: Blink
engine_version:
device:
type: smartphone
brand: DO
model: Titans2 DG700
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 6.0.1; 5051X Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.89 Mobile Safari/537.36
os:
name: Android
short_name: AND
version: "6.0.1"
platform:
client:
type: browser
name: Chrome Mobile
short_name: CM
version: "50.0.2661.89"
engine: Blink
engine_version:
device:
type: smartphone
brand: AL
model: One Touch Pop 4
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 5.1.1; Mi-4c Build/LMY47V) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36
os:
name: Android
short_name: AND
version: "5.1.1"
platform:
client:
type: browser
name: Chrome Mobile
short_name: CM
version: "52.0.2743.98"
engine: Blink
engine_version:
device:
type: smartphone
brand: XI
model: MI 4C
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 5.1; LENNY2 Build/LMY47I) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36
os:
name: Android
short_name: AND
version: "5.1"
platform:
client:
type: browser
name: Chrome Mobile
short_name: CM
version: "52.0.2743.98"
engine: Blink
engine_version:
device:
type: smartphone
brand: WI
model: Lenny 2
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 4.4.2; Z520 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36
os:
name: Android
short_name: AND
version: "4.4.2"
platform:
client:
type: browser
name: Chrome Mobile
short_name: CM
version: "52.0.2743.98"
engine: Blink
engine_version:
device:
type: smartphone
brand: AC
model: Liquid Z520
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 6.0; F3311 Build/37.0.A.1.105) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36
os:
name: Android
short_name: AND
version: "6.0"
platform:
client:
type: browser
name: Chrome Mobile
short_name: CM
version: "52.0.2743.98"
engine: Blink
engine_version:
device:
type: smartphone
brand: SO
model: Xperia E5
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 4.4.2; B15Q Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36
os:
name: Android
short_name: AND
version: "4.4.2"
platform:
client:
type: browser
name: Chrome Mobile
short_name: CM
version: "52.0.2743.98"
engine: Blink
engine_version:
device:
type: smartphone
brand: CA
model: B15Q
os_family: Android
browser_family: Chrome
20 changes: 0 additions & 20 deletions Tests/fixtures/smartphone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7045,26 +7045,6 @@
model: F-08D Disney Mobile
os_family: Android
browser_family: Android Browser
-
user_agent: Mozilla/5.0 (Linux; U; Android 4.2.2; it-it; ARIES_101 Build/GOCLEVER) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30
os:
name: Android
short_name: AND
version: "4.2.2"
platform:
client:
type: browser
name: Android Browser
short_name: AN
version:
engine: WebKit
engine_version: "534.30"
device:
type: smartphone
brand: GC
model: ARIES 101
os_family: Android
browser_family: Android Browser
-
user_agent: Mozilla/5.0 (Linux; U; Android 4.2.2; it-it; ARIES_785 Build/GOCLEVER) AppleWebKit/537.16 (KHTML, like Gecko) Version/4.0 Safari/537.16
os:
Expand Down
Loading

0 comments on commit 673afc2

Please sign in to comment.