Skip to main content
Logo Appt Light

Audio control on React Native

Users should be able to control audio whenever it plays automatically. This includes being able to reduce the volume to zero. It's difficult to hear speech output of the screen reader users when other audio is playing at the same time.

In React Native apps you should always be able to control audio. A popular option for media is the react-native-video package. You can use the audioOnly property to play audio files. The react-native-video package offers native controls for playing and pausing by default.

    source={require('appt.mp3')} />


Let us know!