{ "id": "153232", "key": "TIMOB-20001", "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": [ { "id": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-11-30T04:46:08.000+0000", "created": "2015-11-17T10:09:00.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [], "versions": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "issuelinks": [], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-01-14T00:14:30.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": "{{Ti.Calendar}}, {{Ti.Contacts}} and {{Ti.Geolocation}} each have {{AUTHORIZATION_UNKNOWN}} but {{Ti.Media}} has [CAMERA_AUTHORIZATION_NOT_DETERMINED|https://appcelerator.github.io/appc-docs/latest/#!/api/Titanium.Media-property-CAMERA_AUTHORIZATION_NOT_DETERMINED].\r\n\r\nThe prefix makes sense, since {{Ti.Media}} is about more then the camera, but since the 3 other {{CAMERA_AUTHORIZATION_*}} are identical to those of the other 3 APIs, why not use {{CAMERA_AUTHORIZATION_UNKNOWN}}?", "attachment": [], "flagged": false, "summary": "iOS: Rename Ti.Media.CAMERA_AUTHORIZATION_NOT_DETERMINED to UNKNOWN", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK 5.1.0.v20151116104422", "closedSprints": [ { "id": 529, "state": "closed", "name": "2015 Sprint 24 SDK", "startDate": "2015-11-21T01:30:12.670Z", "endDate": "2015-12-05T01:30:00.000Z", "completeDate": "2015-12-07T03:57:17.094Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "371561", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR here: https://github.com/appcelerator/titanium_mobile/pull/7506\r\n\r\nh4. Steps to test\r\nUse this sample code:\r\n{code}\r\nTi.API.info(Ti.Media.CAMERA_AUTHORIZATION_NOT_DETERMINED);\r\nTi.API.info(Ti.Media.CAMERA_AUTHORIZATION_UNKNOWN);\r\n{code}\r\n\r\nh4. Expected Result\r\n{code}\r\n[WARN] Ti.Media.CAMERA_AUTHORIZATION_NOT_DETERMINED DEPRECATED in 5.2.0, in favor of Ti.Media.CAMERA_AUTHORIZATION_UNKNOWN\r\n[INFO] 0\r\n[INFO] 0\r\n{code}", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-27T03:14:01.000+0000", "updated": "2015-11-27T03:14:01.000+0000" }, { "id": "371631", "author": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR tested working fine!", "updateAuthor": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-11-30T04:45:59.000+0000", "updated": "2015-11-30T04:45:59.000+0000" }, { "id": "374472", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, tested on:\r\n\r\niPhone 6s Plus Device (9.2)\r\nMac OSX El Capitan 10.11 (15A284)\r\nStudio: 4.4.0.201511241829 \r\nTi SDK: 5.1.2.v20151216190036 \r\nAppc NPM: 4.2.2 \r\nApp CLI: 5.1.0 \r\nXcode 7.1 \r\nNode v4.2.3\r\n\r\n*Closing Ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-01-14T00:14:30.000+0000", "updated": "2016-01-14T00:14:30.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }