{ "id": "136566", "key": "TIMOB-17697", "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": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-09-16T15:35:08.000+0000", "created": "2014-09-15T13:39:44.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "TCSupport", "iPhone6", "iPhone6+", "ios", "ios8", "qe-automatedtest" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [ { "id": "41551", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "136918", "key": "AC-1214", "fields": { "summary": "PlatformHeight reports errornous value on iphone 6", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "41202", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "133602", "key": "TIMOB-17372", "fields": { "summary": "iOS8: KitchenSink: Window Standalone > Open (Nav Bar Visible) option not working as expected in Landscape mode", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "41194", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "136320", "key": "TIMOB-17663", "fields": { "summary": "iOS: Add @3x images and new icon sizes to new-app templates and samples", "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": "Critical", "id": "1" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-01-09T17:24:52.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h4. Problem The method \"Ti.Platform.displayCaps.platformHeight\" is used in our application to identify the iPhone device the application is being run on to dynamically adjust UI components.\r\nWith iPhone6 and 6+ this method still return 568 which is the same value returned for iPhone5/5S making it impossible to distinguish the devices.\r\nIs this an issue currently being looked at or will new API methods be made available to identify the iPhone device in Titanium SDK 3.4.\r\n\r\nh4. Steps to reproduce\r\n1. Create a new mobile app\r\n2. Paste into app.js this:\r\n{code}\r\nalert(Ti.Platform.displayCaps.platformHeight);\r\n{code}\r\n3. Run it in simulator iphone 6 / iphone 6 plus. \r\n\r\nh4. Extra info\r\nIt's failing both iphone6/6plus. If you run the same code it will work fine in an ipad air. \r\n", "attachment": [], "flagged": false, "summary": "iOS8: Ti.Platform - Ti.Platform.displayCaps.platformHeight returning incorrect values for iPhone6 and 6+", "creator": { "name": "rajithad@virtusa.com", "key": "rajithad@virtusa.com", "displayName": "Rajitha Dissanayake", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rajithad@virtusa.com", "key": "rajithad@virtusa.com", "displayName": "Rajitha Dissanayake", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK version: 3.4.0.v20140909222515-osx\r\nPlatform & version: iOS 8.0\r\nDevice Details: iOS simulator\r\nHost Operating System: OSX 10.9.4\r\nTitanium Studio version: 3.4.0.201409131007", "closedSprints": [ { "id": 126, "state": "closed", "name": "2018 Sprint 05 SDK", "startDate": "2018-02-25T19:38:08.926Z", "endDate": "2018-03-11T18:38:00.000Z", "completeDate": "2018-03-11T22:06:01.520Z", "originBoardId": 100 } ], "comment": { "comments": [ { "id": "323925", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can we confirm this as on 9/11, we made changes to displayCaps (see https://github.com/appcelerator/titanium_mobile/blob/3_4_X/iphone/Classes/TiPlatformDisplayCaps.m). This may have already been addressed.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-16T09:53:13.000+0000", "updated": "2014-09-16T09:53:13.000+0000" }, { "id": "323939", "author": { "name": "rajithad@virtusa.com", "key": "rajithad@virtusa.com", "displayName": "Rajitha Dissanayake", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Checked on and confirmed working on the following configuration.\r\n\r\nTitanium SDK version: mobilesdk-3.4.0.v20140915175720-osx \r\nPlatform & version: iOS 8.0\r\nDevice Details: iOS simulator\r\nHost Operating System: OSX 10.9.4\r\nTitanium Studio version: 3.4.0.201409131007", "updateAuthor": { "name": "rajithad@virtusa.com", "key": "rajithad@virtusa.com", "displayName": "Rajitha Dissanayake", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-16T12:38:54.000+0000", "updated": "2014-09-16T12:38:54.000+0000" }, { "id": "324108", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified fix on:\r\n\r\nMac OSX 10.9.4\r\nAppcelerator Studio, build: 3.4.0.201409131030\r\nTitanium SDK build: 3.4.0.v20140916151649 \r\nTitanium CLI, build: 3.4.0-rc4\r\nAlloy: 1.5.0-rc2 \r\nXcode6 GM Seed\r\niPhone 6 Simulator , iPhone 6 Plus Simulator\r\n\r\nUsing the code below, ran an app on both simulators. The iPhone 6 returned 667 and the iPhone 6 Plus returned 736\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-16T23:54:46.000+0000", "updated": "2014-09-16T23:54:46.000+0000" }, { "id": "325343", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Why I am still facing this problem, and not just me. some community customers as well.\r\n\r\nMac OSX 10.9.5\r\nAppcelerator Studio, build: 3.4.0.201409161931\r\nTitanium SDK build: 3.4.0.v20140919162515 \r\nTitanium CLI, build: 3.4.0-rc4\r\nAlloy: 1.5.0-rc3\r\nXcode6 GM Seed\r\niPhone 6 Simulator , iPhone 6 Plus Simulator\r\n\r\nBoth of them still display 568 Height. Did I do something wrong?", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-09-24T02:41:00.000+0000", "updated": "2014-09-24T02:41:00.000+0000" }, { "id": "325458", "author": { "name": "tcrist", "key": "tcrist", "displayName": "Travis Crist", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can this be retested with the latest TiSDK. We are seeing the same issue that Shuo Liang is where it still returns 568. ", "updateAuthor": { "name": "tcrist", "key": "tcrist", "displayName": "Travis Crist", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-24T17:37:19.000+0000", "updated": "2014-09-24T17:37:19.000+0000" }, { "id": "325459", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We have tested this with the latest SDK. Have you confirmed you've actually added iPhone 6/6+ splash screens and assets? Otherwise you will be running in compatibility mode.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-24T17:41:39.000+0000", "updated": "2014-09-24T17:41:39.000+0000" }, { "id": "325487", "author": { "name": "tcrist", "key": "tcrist", "displayName": "Travis Crist", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ingo,\r\n\r\nThanks for that tip, with the splash screens added it is confirmed working for us. \r\n\r\nCan you provide any info as to what triggers \"compatibility mode\"? Is it an iOS or titanium trigger? \r\n\r\nThanks,\r\nTravis", "updateAuthor": { "name": "tcrist", "key": "tcrist", "displayName": "Travis Crist", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-24T19:10:43.000+0000", "updated": "2014-09-24T19:10:43.000+0000" }, { "id": "325491", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It's an iOS trigger. http://stackoverflow.com/questions/25886703/supporting-iphone-6-and-iphone-6-with-differant-launch-splash-screen-image-for", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-24T19:20:17.000+0000", "updated": "2014-09-24T19:20:17.000+0000" }, { "id": "325492", "author": { "name": "tcrist", "key": "tcrist", "displayName": "Travis Crist", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Perfect!\r\n\r\nThanks Ingo!", "updateAuthor": { "name": "tcrist", "key": "tcrist", "displayName": "Travis Crist", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-24T19:21:47.000+0000", "updated": "2014-09-24T19:21:47.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }