{ "id": "174602", "key": "AC-6464", "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": null, "resolutiondate": null, "created": "2019-12-31T14:24:52.000+0000", "labels": [ "bug", "critical" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2020-11-26T20:48:49.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When I´m trying to get the camera permissions on iOS app runing 8.3.0.GA Ti.Media.cameraPermissions() shows me this error:\r\n\r\nTi.Media.hasCameraPermissions is not a function. (In 'Ti.Media.hasCameraPermissions()', 'Ti.Media.hasCameraPermissions' is undefined", "attachment": [], "flagged": false, "summary": "Ti.Media.hasCameraPermissions() is not a function on 8.3.0.GA", "creator": { "name": "frodfigu", "key": "frodfigu", "displayName": "Fran Rodas", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "frodfigu", "key": "frodfigu", "displayName": "Fran Rodas", "active": true, "timeZone": "Europe/London" }, "environment": null, "comment": { "comments": [ { "id": "453418", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~frodfigu],\r\n\r\nThanks for reaching to us. Seems it's maybe your coding issue. Can you please share a sample test code to reproduce the issue on our end?\r\n\r\nThanks", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2020-01-01T04:08:05.000+0000", "updated": "2020-01-01T04:08:05.000+0000" }, { "id": "457733", "author": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "body": "I had this happen after adding the hasCameraPermissions check without rebuilding the app (ie using liveview).\r\nBuild a basic example app with liveview enabled, then add the Ti.Media.hasCameraPermissions() check and it will throw the error above.", "updateAuthor": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "created": "2020-11-26T20:48:49.000+0000", "updated": "2020-11-26T20:48:49.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }