{ "id": "173687", "key": "AC-6270", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2019-06-06T08:54:33.000+0000", "created": "2019-05-29T21:42:41.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2019-06-06T08:54: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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "We use the ti.detect code found here https://github.com/Topener/ti.detect/blob/master/ti.detect.js to determine if an iOS device has a notch so we can space things accordingly at the top of the screen. This works great across all simulators including the iPhone XR. But on an actual XR device it's not working. We have received many complaints about this from our iPhone XR users. Something in the Titanium framework is probably failing since it works fine in the XR simulator but not on device. Unfortunately we don't own an iPhone XR so we cannot debug it :) \r\n We think it must have something to do with the Ti.Platform.displayCaps not being set correctly on an XR device.", "attachment": [], "flagged": false, "summary": "Cannot detect iPhone XR device, but works on simulator", "creator": { "name": "btknorr", "key": "btknorr", "displayName": "Brian Knorr", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "btknorr", "key": "btknorr", "displayName": "Brian Knorr", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "448891", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi! Closing the ticket here as this is a ti.detect shortcoming as the xr resolution is different and not handled there yet. \r\n\r\nHere's the related ti.detect issue: https://github.com/Topener/ti.detect/issues/2", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-06-06T08:54:33.000+0000", "updated": "2019-06-06T08:54:33.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }