{ "id": "64109", "key": "TIMOB-3477", "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": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T03:45:43.000+0000", "created": "2011-04-15T03:45:42.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios", "ios4.3", "regression", "reported-1.6.1", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-02T22:47:27.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": "{html}
When you play() a sound created by createSound() with iOS SDK\n4.3 it causes the app to crash. The same code works fine with iOS\nSDK 4.2.
\nStep 1: copy the example below into your app.js
\nStep 2: run the app using iOS 4.3
\nStep 3: click on the 'Play' button
\nStep 4: notice the app crash
\nStep 5: repeat the same steps with iOS 4.2 and it will play the\nsound without crashing
\nvar win = Titanium.UI.createWindow({ \n title:'main win',\n backgroundColor:'#fff',\n exitOnClose:true,\n fullscreen:false\n});\n\nvar btn = Titanium.UI.createButton({\n title:'Play'\n});\nvar sound = Titanium.Media.createSound({url:'button.mp3'});\nbtn.addEventListener('click', function(){\n sound.play();\n});\n\nwin.add(btn);\nwin.open();
\n
\nTi SDK 1.6.1, iOS SDK 4.3, iOS SDK 4.2
\n