{ "id": "63768", "key": "TIMOB-3136", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "12084", "description": "", "name": "Sprint 2011-44", "archived": true, "released": true, "releaseDate": "2011-11-07" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-03T17:02:55.000+0000", "created": "2011-04-15T03:37:49.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "module_media", "qe-testadded" ], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [ { "id": "13754", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "63996", "key": "TIMOB-3364", "fields": { "summary": "How to open front camera first in iphone4 instead of backside camera?", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "14785", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "85468", "key": "TIMOB-7401", "fields": { "summary": "Android: Titanium.Media.switchCamera() fails to switch camera and locks app on camera exit", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "updated": "2012-01-25T14:12:26.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": "h1. Problem\r\nTwo problems in MediaModule.m:\r\n\r\n- camera_front and camera_rear are reversed. The front camera is the back, and the back camera is the front\r\n- vibrate's call to ensure_ui_thread specifies the callback method as the beep method; it happens that these two methods are identical, so it doesn't really matter... but...\r\n\r\nh2. Solution\r\nFix the code.\r\n\r\nh2. How To Test\r\nDrop the following in an app.js and run it on a device with a front camera (like an iPad 2). It should use the front camera.\r\n{code:title=app.js}\r\nTi.Media.showCamera({\r\n mediaTypes: Ti.Media.MEDIA_TYPE_PHOTO\r\n});\r\nTi.Media.switchCamera(Ti.Media.CAMERA_FRONT);\r\nTi.Media.vibrate();\r\n{code}\r\n\r\nh2. Reference Ticket\r\nhttp://developer.appcelerator.com/helpdesk/view/72631\r\n\r\nh2. Pull Request\r\nhttps://github.com/appcelerator/titanium_mobile/pull/627", "attachment": [], "flagged": false, "summary": "iOS: Bug MediaModule.m Front/Rear Camera", "creator": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "162428", "author": { "name": "matthewcongrove", "key": "matthewcongrove", "displayName": "Matthew Congrove", "active": true, "timeZone": "America/Chicago" }, "body": "+1 from customer.", "updateAuthor": { "name": "matthewcongrove", "key": "matthewcongrove", "displayName": "Matthew Congrove", "active": true, "timeZone": "America/Chicago" }, "created": "2011-08-10T09:14:37.000+0000", "updated": "2011-08-10T09:14:37.000+0000" }, { "id": "171416", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "Added the pull request for this.", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-11-03T15:32:24.000+0000", "updated": "2011-11-03T15:32:24.000+0000" }, { "id": "175233", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing bug. Verified fix on:\r\n\r\nOS: Mac OS X Lion\r\nTitanium Studio, build: 1.0.7.201112061404\r\nSDK build: 1.8.0.1.v20111207112258\r\nDevice: iphone 4S Sprint (5.0.1)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-12-07T14:42:49.000+0000", "updated": "2011-12-07T14:42:49.000+0000" }, { "id": "177913", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening/closing to add labels", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-03T17:02:26.000+0000", "updated": "2012-01-03T17:02:26.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }