Expo Module Installation
Package Install
When published to npm:
npm install sezo-audio-engine
NPM package: https://www.npmjs.com/package/sezo-audio-engine
Until then, install from a git URL or a local workspace path.
Android Permissions
If you use recording, add:
<uses-permission android:name="android.permission.RECORD_AUDIO" />
Android Engine Dependency
The Expo module links to the Android engine from JitPack by default. Add the JitPack repository to your app:
// android/build.gradle
allprojects {
repositories {
maven { url "https://www.jitpack.io" }
}
}
Optionally pin the engine version in android/gradle.properties:
sezoAudioEngineVersion=v0.1.3
If you want to build from source instead, include the local engine module in
android/settings.gradle and it will be picked up automatically.
iOS Info.plist
If you use recording or background playback, add:
{
"expo": {
"ios": {
"infoPlist": {
"NSMicrophoneUsageDescription": "Allow access to the microphone for recording audio.",
"UIBackgroundModes": ["audio"]
}
}
}
}
Expo Config
The module is built with Expo Modules and is auto-registered by expo-module.config.json.