{ "id": "61941", "key": "TIMOB-1309", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": { "id": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2020-02-19T14:41:00.000+0000", "created": "2011-04-15T02:49:04.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [], "versions": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-02-19T14:41:00.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": "{html}

Please add this easy function in automatic mode: Sharing Files\r\nwith the User

\r\n

From SDK documentation.
\r\nApplications that want to make user data files accessible can do so\r\nusing application file sharing. File sharing enables the\r\napplication to expose the contents of its /Documents directory to\r\nthe user through iTunes. The user can then move files back and\r\nforth between the device and a desktop computer. This feature does\r\nnot allow your application to share files with other applications\r\non the same device, though. To share data and files between\r\napplications, you must the pasteboard or a document interaction\r\ncontroller object.

\r\n

To enable file sharing for your application, do the\r\nfollowing:

\r\n

1.Add the UIFileSharingEnabled key to your application’s\r\nInfo.plist file and set the value of the key to YES.
\r\n2.Put whatever files you want to share in your application’s\r\nDocuments directory.
\r\n3.When the device is plugged into the user’s computer, iTunes\r\n9.1 displays a File Sharing section in the Apps tab of the selected\r\ndevice.
\r\n4.The user can add files to this directory or move files to the\r\ndesktop.

\r\n

Applications that support file sharing should be able to\r\nrecognize when files have been added to the Documents directory and\r\nrespond appropriately. For example, your application might make the\r\ncontents of any new files available from its interface. You should\r\nnever present the user with the list of files in this directory and\r\nask them to decide what to do with those files.

\r\n

Important: In iTunes, users can manipulate only the top-level\r\nitems in the Documents directory. Users cannot see the contents of\r\nsubdirectories but can delete those directories or copy their\r\ncontents to the desktop. You should take this into consideration\r\nwhen deciding where to put files in this directory.

\r\n

To make it work manual:
\r\nIf you edit plist.info in /Library/Application\r\nSupport/Titanium/mobilesdk/osx/1.3.X/iphone
\r\nworks perfect!
\r\nJust be carefull to set \"YES\" the UIFileSharingEnabled key in the\r\nplist as boolean value type, otherwise xcode get it as string and\r\nfilesharing won't work.

{html}", "attachment": [], "flagged": false, "summary": "iOS: File sharing", "creator": { "name": "juancarlos", "key": "juancarlos", "displayName": "Juan Carlos", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rpfeiffer", "key": "rpfeiffer", "displayName": "Ralf Pfeiffer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "196239", "author": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "body": "This is such a trivial fix it would be really great if this could be done. There are many requests and questions about this in the Q&A", "updateAuthor": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "created": "2012-05-28T10:29:02.000+0000", "updated": "2012-05-28T10:29:02.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }