{ "id": "170265", "key": "TIMOB-25496", "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": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-11-28T15:37:16.000+0000", "created": "2017-11-09T23:04:18.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "19906", "description": "", "name": "Release 6.3.0", "archived": false, "released": true, "releaseDate": "2017-11-01" } ], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-12-05T16:17:47.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": "h5. Issue Description\r\n\r\nUsing IOS 11.1 and SDK 6.3.0 the document viewer for ipad no longer allows the sharing of a pdf to anything except email. There may be some undocumented permission that was introduced in IOS11 that is not in the appcelerator documents or the control's share event is broken. \r\n\r\nSteps to recreate: \r\n\r\n1) Install acrobat on the ipad \r\n\r\n2) Create an app that has a pdf in the project and open it in a document viewer \r\n{code}\r\nvar docViewer = Ti.UI.iOS.createDocumentViewer({ \r\nurl : mypathtopdf \r\n}); \r\ndocViewer.show(); \r\n{code}\r\n3) Click on the share button on the document viewer and select acrobat. Observe nothing happens. \r\n\r\n4) Any app or \"Save to Files\" from the share menu do not allow you to save or open the pdf. ", "attachment": [], "flagged": false, "summary": "iOS Document Viewer no longer allows sharing of pdf to other apps", "creator": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 6.3.0", "comment": { "comments": [ { "id": "431315", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hknoechel] Can you take a look and see what it would take to fix this?", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-27T21:05:31.000+0000", "updated": "2017-11-27T21:05:31.000+0000" }, { "id": "431320", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Some considerations:\r\n* iOS 11 only allows documents that are actually copied to the app-bundle (= placed in /Resources (classic) or app/assets (Alloy)).\r\n* This is a breaking change from iOS, read more [here|https://stackoverflow.com/a/47024188/5537752] and [here|https://stackoverflow.com/questions/46531572/uidocumentinteractioncontroller-does-not-open-other-app-in-ios-11]\r\n* It can be solved by copying the file to an app-directory first, e.g. the cache-directory and open it from there\r\n\r\nWe should document this behavior in the docs, but please let me know if there are further questions.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-11-27T23:13:13.000+0000", "updated": "2017-11-27T23:13:13.000+0000" }, { "id": "431321", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR to update the docs: https://github.com/appcelerator/titanium_mobile/pull/9630", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-11-27T23:21:38.000+0000", "updated": "2017-11-27T23:21:38.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }