{ "id": "153002", "key": "TIMOB-19926", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-06-30T06:32:12.000+0000", "created": "2015-11-12T05:10:01.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-10-04T12:56:33.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": "Support proximity sensor. {{Ti.App.proximityState}}, {{Ti.App.proximityDetection}} and Ti.App {{proximity}} event. Maybe {{Windows::Networking::Proximity}} package does the sensor work.\r\n\r\n*Test Case*\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({ backgroundColor: 'red' });\r\n\r\nTi.App.addEventListener('proximity', function (e) {\r\n win.setBackgroundColor(e.state ? 'green' : 'red');\r\n});\r\nTi.App.setProximityDetection(true);\r\n\r\nwin.open();\r\n{code}\r\n\r\n{code:title=tiapp.xml}\r\n\r\n \r\n \r\n ...\r\n \r\n ...\r\n \r\n \r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "Windows: Support proximity sensor for Windows 10", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 649, "state": "closed", "name": "2016 Sprint 13 SDK", "startDate": "2016-06-18T00:25:17.303Z", "endDate": "2016-07-02T00:25:00.000Z", "completeDate": "2016-07-04T04:25:16.889Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "389130", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile_windows/pull/755", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-27T14:57:00.000+0000", "updated": "2016-06-27T14:57:00.000+0000" }, { "id": "398046", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nWindows 10 Pro\r\nAppc core: 6.0.0-55\r\nAppc NPM: 4.2.8-7\r\nTi SDK: 6.0.0.v20161002235150\r\nLumia 550 10.0\r\n\r\nProximity sensor works as expected\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-10-04T12:56:26.000+0000", "updated": "2016-10-04T12:56:26.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }