New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TIMOB-26334] iOS: Fix some Ti.Media.AudioPlayer related bugs #10285
Conversation
var audioPlayer; | ||
|
||
beforeEach(function () { | ||
audioPlayer = Ti.Media.createAudioPlayer({ url: 'sample.mp3' }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change 'sample.mp3'
to '/sample.mp3'
please?
Android does not currently support loading APK asset directory files via relative paths yet until TIMOB-13642 has been fixed. Will avoid a unit test failure.
|
||
// Re-set URL to test TIMOB-26334, this should not crash | ||
try { | ||
audioPlayer.url = 'sample.mp3'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above. Change to absolute path '/sample.mp3'
.
…Fragment (tidev#10245) * Handle child-views added before the fragment transaction commit. * Fix formatting. * Override insertAt() and fix realizeViews for multiple views. * Ensure childred are removed from childrenToRealize on remove() call. * Fix formatting.
…oid differ in values by 5ms, so make ok within a 250 ms range for now
Tests:
Generated by 🚫 dangerJS |
JIRA: https://jira.appcelerator.org/browse/TIMOB-26334