{ "id": "170922", "key": "TIMOB-25702", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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-01-24T16:19:29.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-7.0.2" ], "versions": [ { "id": "20060", "description": "", "name": "Release 7.0.2", "archived": false, "released": true, "releaseDate": "2018-02-09" } ], "issuelinks": [ { "id": "56263", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "170807", "key": "TIMOB-25680", "fields": { "summary": "iOS 11.2: DocumentViewer not displaying PDF files (Apple regression)", "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 } } } } ], "assignee": null, "updated": "2018-02-28T19:55:42.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": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "In TIMOB-25680 we implemented a workaround for an Apple bug with the DocumentViewer. Once that bug is fixed by Apple, we should remove our workaround.\r\n\r\nWorkaround was implemented in these PRs:\r\nPR (master): https://github.com/appcelerator/titanium_mobile/pull/9741\r\nPR (7_0_X): https://github.com/appcelerator/titanium_mobile/pull/9742\r\n\r\nPossible test case for the improvement (Example PDF attached):\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n \r\nvar btn = Ti.UI.createButton({\r\n title: 'Open PDF'\r\n});\r\n \r\nbtn.addEventListener('click', function(e) {\r\n var docViewer = Ti.UI.iOS.createDocumentViewer({\r\n url : 'example.pdf'\r\n });\r\n \r\n docViewer.show();\r\n});\r\n \r\nwin.add(btn);\r\nwin.open();\r\n{code}", "attachment": [ { "id": "64736", "filename": "example.pdf", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-01-24T16:18:17.000+0000", "size": 433994, "mimeType": "application/pdf" } ], "flagged": false, "summary": "iOS: Remove iOS 11.2 DocumentViewer workaround", "creator": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "SDK 7.0.2\r\niOS 11.2", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }