How to play audio file in react-native? Primarily in android
<p>I am trying really hard to play an audio file from my react-native app.
Currenty I am trying to use this package:</p>

<p><a href="https://github.com/zmxv/react-native-sound" rel="nofollow noreferrer">react-native-sound</a></p>

<p>But can not get it to work properly, I get this error: 
Cannot read property IsAndroid of undefined, which it tries to do in sound.js line 4 of the react-native-sound package:</p>

<p><code>var RNSound = require('react-native').NativeModules.RNSound;
 var IsAndroid = RNSound.IsAndroid;</code></p>

<p>Probably this means that the RNSound object is not registered correctly.</p>

<p>Anyways, it seems the package is not being maintained anymore with 33 issues and 8 pull request, and last commit was 4 months ago.</p>

<p>So, how do you guys add audio to your projects? I am using React Native 0.37 btw.</p>