{ "id": "160302", "key": "TIMOB-23393", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-05-20T13:48:29.000+0000", "created": "2016-05-17T17:19:23.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "Analytics", "qe-5.3.0", "qe-5.4.0" ], "versions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "issuelinks": [ { "id": "51743", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "160303", "key": "TIMOB-23394", "fields": { "summary": "Analytics: Windows JSON payload lists ostype as \"arm\"", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2016-07-07T19:17:57.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5. Description:\r\nThe analytics payloads produced by Windows phones lists ostype as \"arm\". The osarch is also \"arm\". For comparison:\r\n\r\niOS:\r\nostype:\"64bit\"\r\nosarch:\"arm64\"\r\n\r\nAndroid:\r\nostype: \"32bit\"\r\nosarch:\"ARMv7 Processor rev 0 (v7l)\"\r\n\r\nWindows:\r\nostype: \"arm\"\r\nosarch: \"arm\"\r\n\r\nh5. Steps to reproduce:\r\n1) Install a titanium project on a windows phone device\r\n2) Launch the app\r\n3) Use either - a) point device to staging via DNS setting, check logs. b) Use get last event api c) If you have backend access, check the raw event on AWS.\r\n4) Examine any of the standard event types.\r\n\r\nh5. Result:\r\nThe ostype field has \"arm\"\r\n\r\nh5. Expected Result:\r\nThe ostype field should not be redundant, and should reflect information about the OS type", "attachment": [], "flagged": false, "summary": "Windows: Ti.Platform.ostype always returns same value as Ti.Platform.architecture", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "NPM Version: 2.15.1\r\nNode Version: 4.4.3\r\nMac OS: 10.11.2\r\nAppc CLI: 5.3.0-45\r\nAppc CLI NPM: 4.2.5-5\r\nTitanium SDK version: 5.3.0.v20160516040258\r\nAppcelerator Studio, build: 4.6.0.201605121040\r\nXcode 7.3.1 GM", "closedSprints": [ { "id": 627, "state": "closed", "name": "2016 Sprint 10 SDK", "startDate": "2016-05-07T00:43:56.954Z", "endDate": "2016-05-21T00:43:00.000Z", "completeDate": "2016-05-23T02:06:04.349Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "386092", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/702\r\n\r\nTi.Platform.ostype no longer just returns the same value as Ti.Platform.architecture. They both use GetNativeSystemInfo under the hood. ostype should be either \"32bit\", \"64bit\" or \"unknown\". architecture should be one of: x86, x64, ia64, ARM, or unknown.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-05-18T19:34:44.000+0000", "updated": "2016-05-18T19:34:51.000+0000" }, { "id": "390064", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, Ti.Platform.ostype for the windows platform now returns an appropriate value, that isn't the same as Ti.Platform.architecture\r\n\r\n{code:java}\r\n\"data\": {\r\n\t\t\"tz\": -420,\r\n\t\t\"sdkver\": \"ti.5.4.0\",\r\n\t\t\"platform\": \"windows\",\r\n\t\t\"osver\": \"10.0.10586.420\",\r\n\t\t\"ostype\": \"32bit\",\r\n\t\t\"oscpu\": 4,\r\n\t\t\"osarch\": \"ARM\",\r\n\t\t\"os\": \"windowsphone\",\r\n{code}\r\n\r\nTested On:\r\nWindows 10 Pro\r\nWindows Phone 10.0 (Microsoft Lumia 640 LTE) \r\nTi SDK: 5.4.0.v20160705213725\r\nAppc Studio: 4.7.0.201606220541\r\nAppc NPM: 4.2.7-2\r\nApp CLI: 5.4.0-26\r\nXcode 7.3\r\nNode v4.2.6\r\n*Closing ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-07-07T19:17:27.000+0000", "updated": "2016-07-07T19:17:27.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }