{ "id": "141385", "key": "TIMOB-18174", "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": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-12-15T07:50:06.000+0000", "created": "2014-12-10T09:36:25.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.5.0" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-31T22:46:35.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": "The sound files do not play in iOS 8.2 beta but works as expected with iOS 8.1. When the sdk versions are reverted to the older versions, the sound files still do not work on iOS 8.2 beta. \r\n\r\nSteps to reproduce:\r\n\r\n1. Create a sample classic project and replace app.js with the following:\r\n{code}\r\nvar win = Titanium.UI.createWindow({\r\n\tbackgroundColor: '#D1D1D1',\r\n\tnavBarHidden: false,\r\n\tfullscreen: false\r\n});\r\n\r\nvar button1 = Ti.UI.createButton({\r\n\ttitle: 'play sound',\r\n\twidth: 300,\r\n\theight: 50,\r\n\ttop:50\r\n});\r\n\r\nvar button2 = Ti.UI.createButton({\r\n\ttitle: 'play sound from 1 sec',\r\n\twidth: 300,\r\n\theight: 50,\r\n\ttop:150\r\n});\r\n\r\nwin.add(button1);\r\nwin.add(button2);\r\n\r\nvar sound;\r\nvar url;\r\n\r\nbutton1.addEventListener(\"click\", playNext);\r\n\r\nfunction playNext() {\r\n\turl = 'cricket.wav';\r\n\tsound = Ti.Media.createSound({\r\n\t\turl : url\r\n\t});\r\n\tsound.play();\r\n};\r\n\r\nbutton2.addEventListener(\"click\", playNext2);\r\n\r\nfunction playNext2() {\r\n\turl = 'cricket.wav';\r\n\tsound = Ti.Media.createSound({\r\n\t\turl : url,\r\n\t\tvolume: 1.0,\r\n\t\ttime: 3000\r\n\t});\r\n\tsound.play();\r\n};\r\n\r\nwin.open();\r\n{code}\r\nand include the attached sound file under resources of the created project\r\n2. Click on 'play sound' button\r\n\r\nActual results:\r\n2. No sound\r\n\r\nExpected results:\r\n2. A cricket sound should be played.\r\n", "attachment": [ { "id": "53146", "filename": "cricket.wav", "author": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-12-10T09:36:25.000+0000", "size": 80923, "mimeType": "audio/wav" } ], "flagged": false, "summary": "iOS: Ti.Media.Sound does not work in iOS 8.2 beta", "creator": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "vchidambaram", "key": "vchidambaram", "displayName": "Visalakshi Chidambaram", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Appc-Studio: 3.4.1.201410281743 \r\nTitanium SDK: 3.5.0.v20141208122514 \r\nTitanium CLI: 3.4.1 \r\nAlloy : 1.5.1 GA \r\nOS: Mac OSX 10.10 \r\nXcode: 6.1 \r\nDevice: iPhone 6 (iOS 8.2 beta), iPad Air 2 (iOS8.1)", "closedSprints": [ { "id": 272, "state": "closed", "name": "2014 Sprint 25 SDK", "startDate": "2014-12-08T22:49:31.264Z", "endDate": "2014-12-22T01:00:00.000Z", "completeDate": "2015-01-05T18:18:28.523Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "336342", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Unable to reproduce this. Sound still works in\r\niOS 8.2, Xcode 6.2 Beta 2 with latest SDK, (3_5_X), on simulator as well as device.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-15T07:49:40.000+0000", "updated": "2014-12-15T07:49:40.000+0000" }, { "id": "416618", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as \"Cannot Reproduce\", if you encounter any further problems please file a new ticket. ", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-31T22:46:35.000+0000", "updated": "2017-03-31T22:46:35.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }