Skip to content
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

Merged
merged 9 commits into from Oct 2, 2018

Conversation

hansemannn
Copy link
Collaborator

@hansemannn hansemannn added this to the 7.5.0 milestone Aug 24, 2018
var audioPlayer;

beforeEach(function () {
audioPlayer = Ti.Media.createAudioPlayer({ url: 'sample.mp3' });
Copy link
Contributor

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';
Copy link
Contributor

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'.

sgtcoolguy and others added 4 commits October 1, 2018 13:44
…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
@build build added the android label Oct 1, 2018
@build
Copy link
Contributor

build commented Oct 2, 2018

Fails
🚫

Tests have failed, see below for more information.

Messages
📖

💾 Here's the generated SDK zipfile.

Tests:

Classname Name Time Error
android.Titanium.UI.TextField focus-blur-bubbles 6.245 Error: timeout of 5000ms exceeded

Generated by 🚫 dangerJS

@sgtcoolguy sgtcoolguy merged commit 10cdbd9 into tidev:master Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants