{ "id": "171079", "key": "AC-5589", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2018-02-10T11:26:48.000+0000", "created": "2018-02-10T02:23:13.000+0000", "labels": [ "api" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-02-10T11:26:48.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "During iOS app certification process Apple requires that the Ti.Media.requestCameraPermissions modal message is changed to something like \"We need your permission to the camera to enable QR scanner\". The request function in Titanium only returns values and, to my knowledge, cannot be fed a parameter of the popup request.\r\n\r\nFrom Apple\r\n5. 1.1 Legal: Privacy - Data Collection and Storage\r\n\r\nRegarding the 5.1.1 issue, we still continue to find\r\nthat your app requests the user’s consent to access their camera but does not clarify the use of this feature in the permission modal alert.\r\n\r\n", "attachment": [ { "id": "64840", "filename": "Screen Shot 2018-02-09 at 9.22.39 PM.png", "author": { "name": "support@dataii.com", "key": "support@dataii.com", "displayName": "Szymon Machajewski", "active": true, "timeZone": "America/Detroit" }, "created": "2018-02-10T02:23:01.000+0000", "size": 18642, "mimeType": "image/png" } ], "flagged": false, "summary": "Unable to customize Ti.Media.requestCameraPermissions modal message text", "creator": { "name": "support@dataii.com", "key": "support@dataii.com", "displayName": "Szymon Machajewski", "active": true, "timeZone": "America/Detroit" }, "subtasks": [], "reporter": { "name": "support@dataii.com", "key": "support@dataii.com", "displayName": "Szymon Machajewski", "active": true, "timeZone": "America/Detroit" }, "environment": "iOS", "comment": { "comments": [ { "id": "434324", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hey there,\r\n\r\nthis is not how permission handling works (both on iOS natively and Titanium). You need to specify the permissions in your Info.plist (tiapp.xml in Titanium) as documented [here|http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Media-method-requestCameraPermissions]:\r\n{code:xml}\r\n \r\n \r\n \r\n NSCameraUsageDescription\r\n ADD_YOUR_PERMISSION_TEXT_HERE\r\n \r\n \r\n \r\n{code}\r\nThis is very fundamental for iOS development and is also used in many other place like geolocation, music-library, contacts and calendar. Read more about it in the related docs, thanks!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-02-10T11:26:35.000+0000", "updated": "2018-02-10T11:26:35.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }