{ "id": "149381", "key": "AC-191", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2015-07-03T19:08:36.000+0000", "created": "2015-07-02T11:56:07.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updated": "2015-07-03T19:08:36.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": "14545", "name": "Documentation" } ], "description": "Why there are two *DisplayCaps* options ?\r\n\r\n* *DisplayCaps* doesn't work\r\n* *displayCaps* works", "attachment": [ { "id": "56061", "filename": "Schermata 2015-07-02 alle 13.51.07.png", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2015-07-02T11:55:53.000+0000", "size": 14048, "mimeType": "image/png" } ], "flagged": false, "summary": "Two DisplayCaps options", "creator": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "environment": null, "comment": { "comments": [ { "id": "356883", "author": { "name": "hmrida", "key": "hmrida", "displayName": "Harish Mridha", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hi , \r\nWe have tested this issue . DisplayCaps and displayCaps both are working fine .\r\n\r\nNote that the displayCaps property begins with a lowercase letter, which differentiates it from the DisplayCaps object that it returns\r\n\r\n*Test Code*\r\n{code}\r\nTi.API.info('Ti.Platform.displayCaps.density: ' + Ti.Platform.displayCaps.density);\r\nTi.API.info('Ti.Platform.DisplayCaps.dpi: ' + Ti.Platform.displayCaps.dpi);\r\nTi.API.info('Ti.Platform.displayCaps.platformHeight: ' + Ti.Platform.displayCaps.platformHeight);\r\nTi.API.info('Ti.Platform.DisplayCaps.platformWidth: ' + Ti.Platform.displayCaps.platformWidth);\r\n{code}\r\n\r\n*Log*\r\n{code}\r\n[INFO] : Ti.Platform.displayCaps.density: xxhigh\r\n[INFO] : Ti.Platform.DisplayCaps.dpi: 480\r\n[INFO] : Ti.Platform.displayCaps.platformHeight: 1776\r\n[INFO] : Ti.Platform.DisplayCaps.platformWidth: 1080\r\n[INFO] : Ti.Platform.displayCaps.logicalDensityFactor: 3\r\n{code}\r\n\r\nThanks ", "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2015-07-03T09:44:06.000+0000", "updated": "2015-07-03T19:07:50.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }