Skip to main content
Version: Next

Other

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.