Ben Clayton

Results 20 comments of Ben Clayton

sounds like a conflict with an existing packager for a different project. Close all packagers and try again.

Can you post your code? I'm running an Android app with 0.10.1 right now and it's playing audio without problems.

Thanks - I'm debugging an Android device while trying to load a networked resource, and I'm seeing: ``` 05-12 18:39:23.260 23518-23553/com.rnsounddemo I/RNSoundModule: https://languagezenstorage.blob.core.windows.net/media0/xgcUXjHhP8.mp3 05-12 18:39:34.963 23518-23553/com.rnsounddemo E/MediaPlayer: Attempt to call...

@ofirgeller Well, suspicion confirmed. Adding `.prepare()` back in if it's a remote URL does indeed make it play. However, at least in debug mode, the whole app is blocked while...

@ofirgeller I've been having a go too - I can get it to work using .prepareAsync instead, but then using `require()` to play an audio no longer works :-(

Sure, take a look at the branch `fix_android_network_sound` at https://github.com/zmxv/react-native-sound/tree/fix_android_network_sound I've been testing with the `try-android-download-fix` branch of https://github.com/zmxv/react-native-sound-demo/tree/try-android-download-fix If you pull that you'll need to update the package.json to...

PR #63 has been merged, so we have iOS-only support for this. Perhaps a helpful person will make a PR for the Android side - should be pretty straightforward.

Thanks @jeromegrosse, that works, at least until the next version of React Native.

Thanks Farid. Sadly that doesn't seem to have any effect at all. I'll stick with the _refresh() option for now.

Thanks for the response. Aha - yeah that sounds like a great plan, FrameLayouts would very likely do the trick.