RN Compatibility
Supported React Native versions on the New Architecture (Fabric)
Web Audio API coverage
See which Web Audio API interfaces are supported in React Native Audio API on iOS, Android, and Web, with implementation status and WPT conformance results.
Audio API Expo plugin
What is Audio API Expo plugin
Non-expo app permissions
If your app needs to access non-trivial resources such as microphone or be able to run in the background, there have to be explicit entries about it in special places.
Disabling prebuilt libraries
react-native-audio-api ships with a number of prebuilt third-party libraries that are downloaded at install time and linked into the final binary. They enable a range of decoding/encoding and streaming features, but also add several megabytes to the resulting application binary. If you don't need those features (for example you only play short PCM/WAV assets, or you want to avoid symbol clashes with another library in your project), you can disable them with build flags to noticeably reduce your app's install size and download size.
Running with Mac Catalyst
Mac Catalyst allows you to run your iOS apps natively on macOS. This guide covers the necessary changes to your Podfile to enable Mac Catalyst support for your React Native app with react-native-audio-api.
Runtime flags
These helpers let you check at runtime which optional native features are compiled into your app. They are synchronous and safe to call from JavaScript after the library has been installed.
Testing
React Native Audio API provides a comprehensive mock implementation to help you test your audio-related code without requiring actual audio hardware or platform-specific implementations.