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:
Feature | iOS | Android |
---|---|---|
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 :)