devicemap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Keil (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DMAP-117) Results differ from OS version in UA
Date Wed, 31 Dec 2014 21:11:13 GMT

    [ https://issues.apache.org/jira/browse/DMAP-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14262432#comment-14262432
] 

Werner Keil commented on DMAP-117:
----------------------------------

Well in a sense, "device_os_version" should rather be "factory_os_version" but the client
will very likely never work properly if it ignores the real UA information where provided
sufficiently. So it can be done with the current data, future generations should ideally just
ignore it or consider it a fallback only.

> Results differ from OS version in UA
> ------------------------------------
>
>                 Key: DMAP-117
>                 URL: https://issues.apache.org/jira/browse/DMAP-117
>             Project: DeviceMap
>          Issue Type: Bug
>          Components: Device data
>    Affects Versions: 1.1.0 Java
>            Reporter: Werner Keil
>              Labels: device, useragent
>
> This is a more general  issue, it's not restricted to Nexus 7 or other devices.
> For a given 
> UA: "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 7 Build/KOT49H) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/31.0.1650.59 Safari/537.36"
> The result is:
> {code}
> {
> "success":true,
> "ua":"Mozilla/5.0 (Linux; Android 4.4.2; Nexus 7 Build/KOT49H) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/31.0.1650.59 Safari/537.36",
> "time_microseconds":28341,
> "result":{"id":"Nexus 7","attributes":{"model":"Nexus 7","ajax_support_getelementbyid":"true","marketing_name":"-","from":"oddr","displayWidth":"800","device_os":"Android","id":"Nexus
7","xhtml_format_as_attribute":"false","is_crawler":"false","dual_orientation":"true","nokia_series":"0","device_os_version":"4.1","nokia_edition":"0","vendor":"Google","mobile_browser_version":"-","is_desktop":"false","ajax_support_events":"true","ajax_support_inner_html":"true","image_inlining":"true","mobile_browser":"Android
Webkit","ajax_support_event_listener":"true","displayHeight":"1280","ajax_manipulate_css":"true","is_tablet":"true","ajax_support_javascript":"true","inputDevices":"touchscreen","is_wireless_device":"true","ajax_manipulate_dom":"true","xhtml_format_as_css_property":"false"}}
> }
> {code}
> The UA says OS version 4.4.1, but the client just shows what's in the device repo 4.1.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message