[TIMOB-2599] iOS: SDK 1.5.0 AudioPlayer event 'change' does not work
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-01-03T16:02:51.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Sprint 2011-45, Release 1.8.0 |
Components | iOS |
Labels | module_media, qe-testadded |
Reporter | Aee Q |
Assignee | Reggie Seagraves |
Created | 2011-04-15T03:24:03.000+0000 |
Updated | 2012-01-03T16:02:51.000+0000 |
Description
createAudioPlayer event change does not work in 1.5.0, the state in change can not be triggered. which was ok in 1.4.2
var streamer = Ti.Media.createAudioPlayer();
streamer.addEventListener('change',function(e)
{ stateLabel.text = 'State: '+e.state+')'; }
no change fired any more
I can also duplicate this issue! Works fine in 1.4.2. It seems the onchange event listener isn't firing as ive stuck an alert in the onchange event and it dosent show. No fix in the latest github build (1.6.0)
I do not believe that this is an issue anymore. It works fine in edge versions of Titanium (1.7.x) currently.
Fixed in a previous checkin. Also related to or duplicate of 2135.
QE note: This bug and timob2135 can be covered with a single test app.
Verified no longer occurs with SDK 1.8.0.1.v20111205164258 using Titanium Studio, build: 1.0.7.201112052104 on iPad 2 (4.3.5), iPhone 4s (5.01), iPod touch 3rd gen (4.0.2). State returns values and e.description returns strings.
Reopening/closing to add labels
Note this test is covered by TIMOB-2135