{ "id": "152136", "key": "TIMOB-19735", "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": null, "resolutiondate": null, "created": "2015-10-16T23:44:57.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2015-10-16T23:46:22.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": "10202", "name": "Android", "description": "Android Platform" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" }, { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "The Photos framework of iOS8 allows us to fetch local photo albums and its assets. This is useful and necessary when creating a custom photo gallery or using local photos without the modal dialog provided by {{Ti.Media.openPhotoGallery()}}.\r\n\r\nTo make this possible, we have to think about, what is the easiest way to fetch and organize the photos. We will need at least a new method like {{Ti.Media.fetchPhotoGallery()}} to fetch it. After that, we could create a proxy for albums e.g. {{Ti.Media.PhotoAlbum}} and {{Ti.Media.Photo}} to access the native properties like {{mediaType}}, {{mediaSubtypes}}, {{sourceType}}, {{pixelWidth}}, {{pixelHeight}}, {{creationDate}}, {{modificationDate}}, {{location}}, {{duration}}, {{favorite}} and {{hidden}}. This assets can be photos, live photos, videos, time-lapse videos and slo-mo videos.\r\n\r\nWe would also need to make sure to achieve platform parity here, since it is a very common use case on all platforms.\r\n\r\n**Related documents:**\r\n- https://developer.apple.com/library/prerelease/ios/documentation/Photos/Reference/PHAsset_Class/index.html\r\n- https://developer.apple.com/library/prerelease/ios/documentation/Photos/Reference/PHAssetCollection_Class/index.html", "attachment": [], "flagged": false, "summary": "iOS: Support fetching local assets", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [], "maxResults": 1, "total": 1, "startAt": 0 } } }