Pages

Wednesday, December 23, 2015

Cross-platform release of react-native-sound

I've added support for Android in the latest release of react-native-sound, a native module to play sound clips in React Native apps. Most features have been ported as shown in the following table:

FeatureiOSAndroid
Load sound from the app bundle
Load sound from other directories
Play sound
Playback completion callback
Pause
Resume
Stop
Release resource
Get duration
Get number of channels
Get/set volume
Get/set pan
Get/set loops
Get/set current time

I think react-native-sound is so far the most feature-rich open-source module for audio playback in React Native apps :)

2 comments: