{ "id": "154441", "key": "AC-575", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-01-21T08:47:31.000+0000", "created": "2016-01-21T00:08:39.000+0000", "labels": [ "ios", "iphone" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-01-21T10:06:54.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": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "API fails to produce an image for me to work with. It is however saved in the iPhone standard photo gallery. (iPhone6 updated to current IOS version)\r\nExactly the same happens on an Android device. The API does not give me an image to work with although it is saved in the devices standard photo gallery.\r\nA test project is attached as well as the console output from a test run on iOS device.", "attachment": [ { "id": "58036", "filename": "app.zip", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2016-01-21T00:05:24.000+0000", "size": 10428400, "mimeType": "application/zip" }, { "id": "58035", "filename": "cameraTest console output.rtf", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2016-01-21T00:03:55.000+0000", "size": 23727, "mimeType": "text/rtf" } ], "flagged": false, "summary": "Ti.Media.showCamera error: Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.", "creator": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "subtasks": [], "reporter": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "environment": " Modelnavn:\tMac mini\r\n Model-id:\tMacmini5,2\r\n Processornavn:\tIntel Core i5\r\n Processorhastighed:\t2,5 GHz\r\n Antal processorer:\t1\r\n Antal kerner i alt:\t2\r\n L2-buffer (pr. Core):\t256 KB\r\n L3-buffer:\t3 MB\r\n Hukommelse:\t16 GB\r\n Boot ROM-version:\tMM51.0077.B12\r\n SMC-version (system):\t1.75f0\r\n Serienummer (system):\tC07GL05SDJD1\r\n Hardware-uuid:\t28B868AC-AFAF-5667-AF09-B4EBF72FE945\r\n Systemversion:\tOS X 10.11.1 (15B42)\r\n Kerneversion:\tDarwin 15.0.0\r\n Startenhed:\tMacintosh HD\r\n Startfunktion:\tNormal\r\n Computer:\tJohns Mac mini\r\n Brugernavn:\tJohn Marott (jma)\r\n Sikker virtuel hukommelse:\tSlÄet til\r\n Tid siden start:\t14.05", "comment": { "comments": [ { "id": "375058", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Looking to your project, It looks like you have a coding mistake. In index.js line 15 it should be \r\n{code}\r\nif (event.mediaType == Ti.Media.MEDIA_TYPE_PHOTO)\r\n{code}\r\n not \r\n{code}\r\nif (event.mediaType == Ti.MEDIA_TYPE_PHOTO)\r\n{code}\r\nThis is working. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-01-21T08:46:35.000+0000", "updated": "2016-01-21T08:47:14.000+0000" }, { "id": "375063", "author": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "body": "Thank You so much. I spend hours without seeing the obvious.\r\n:-(\r\n\r\nKind regards\r\nJohn Marott\r\n", "updateAuthor": { "name": "john@marott.dk", "key": "john@marott.dk", "displayName": "John Marott", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2016-01-21T10:06:54.000+0000", "updated": "2016-01-21T10:06:54.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }