{ "id": "172471", "key": "TIMOB-26473", "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": [], "resolution": null, "resolutiondate": null, "created": "2018-10-19T17:07:14.000+0000", "priority": null, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-12-05T22:56:36.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "I am on 7.4.0GA.\r\n\r\nRunning this code:\r\n```Ti.API.info(\"displayCaps-platform-H:\" + Ti.Platform.displayCaps.platformHeight + \", W:\" + Ti.Platform.displayCaps.platformWidth + \", \" + Ti.Platform.displayCaps.density);```\r\n\r\nReturns this for these simulators (iOS 12.0):\r\niPhone X/XS: displayCaps-platform-H:812, W:375, xhigh\r\niPhone 7 Plus: displayCaps-platform-H:736, W:414, high\r\niPhone XR: displayCaps-platform-H:812, W:375, high\r\niPhone XS Max: displayCaps-platform-H:812, W:375, xhigh\r\n\r\n\r\nI believe the XR & XS Max are both incorrect and should instead return:\r\niPhone XR: displayCaps-platform-H:896, W:414, high\r\niPhone XS Max: displayCaps-platform-H:896, W:414, xhigh\r\n\r\n", "attachment": [], "flagged": false, "summary": "Ti.Platform.displayCaps incorrect for both Height & Width for both iPhone XR & XS Max", "creator": { "name": "amwinsauto", "key": "amwinsauto", "displayName": "Adam Armstrong", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "amwinsauto", "key": "amwinsauto", "displayName": "Adam Armstrong", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "442824", "author": { "name": "amwinsauto", "key": "amwinsauto", "displayName": "Adam Armstrong", "active": true, "timeZone": "America/Chicago" }, "body": "This issue is also present on 7.4.1GA", "updateAuthor": { "name": "amwinsauto", "key": "amwinsauto", "displayName": "Adam Armstrong", "active": true, "timeZone": "America/Chicago" }, "created": "2018-10-22T13:08:04.000+0000", "updated": "2018-10-22T13:08:04.000+0000" }, { "id": "442834", "author": { "name": "amwinsauto", "key": "amwinsauto", "displayName": "Adam Armstrong", "active": true, "timeZone": "America/Chicago" }, "body": "Interesting....\r\nBy simply adding the new splash screens for XR & XS Max, the Ti.Platform APIs are now reporting correctly.\r\n\r\nSo, the API wont report correctly unless you have the splash screens added.\r\n\r\nShouldn't the platformHeight & platformWidth report correctly regardless ?", "updateAuthor": { "name": "amwinsauto", "key": "amwinsauto", "displayName": "Adam Armstrong", "active": true, "timeZone": "America/Chicago" }, "created": "2018-10-22T16:51:10.000+0000", "updated": "2018-10-22T16:51:10.000+0000" }, { "id": "444290", "author": { "name": "emilyafeder@gmail.com", "key": "emilyafeder@gmail.com", "displayName": "Emily Feder", "active": true, "timeZone": "America/Chicago" }, "body": "I am on 7.4.1.GA and use launch files, and I am seeing the correct values for displayCaps on XS Max.", "updateAuthor": { "name": "emilyafeder@gmail.com", "key": "emilyafeder@gmail.com", "displayName": "Emily Feder", "active": true, "timeZone": "America/Chicago" }, "created": "2018-12-05T22:28:27.000+0000", "updated": "2018-12-05T22:28:27.000+0000" }, { "id": "444291", "author": { "name": "amwinsauto", "key": "amwinsauto", "displayName": "Adam Armstrong", "active": true, "timeZone": "America/Chicago" }, "body": "I found this out. I was on the newest SDK, but I hadn't added the new splash screens. When the splash screens were missing I got invalid dimensions. But once I added the missing/new splash screens - then the dimensions reported correctly.\r\n\r\nI would have thought the dimensions would be reported correctly whether all splash screens were present or not.....but maybe this is expected!? IDK.\r\n\r\nAdam.", "updateAuthor": { "name": "amwinsauto", "key": "amwinsauto", "displayName": "Adam Armstrong", "active": true, "timeZone": "America/Chicago" }, "created": "2018-12-05T22:36:52.000+0000", "updated": "2018-12-05T22:36:52.000+0000" }, { "id": "444292", "author": { "name": "emilyafeder@gmail.com", "key": "emilyafeder@gmail.com", "displayName": "Emily Feder", "active": true, "timeZone": "America/Chicago" }, "updateAuthor": { "name": "emilyafeder@gmail.com", "key": "emilyafeder@gmail.com", "displayName": "Emily Feder", "active": true, "timeZone": "America/Chicago" }, "created": "2018-12-05T22:56:36.000+0000", "updated": "2018-12-05T22:56:36.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }