Hey guys I’ve learn some issues about this subject and I’m simply questioning on if in case you have expertise relating to this:
- Created an expo software from cli:
npx create-expo-app --template(Typescript clean template) - Need to set up react-native-live-audio-stream.
a.) Rannpm set upb.) Utilized code in entry of software:
import LiveAudioStream from 'react-native-live-audio-stream';
const choices = {
sampleRate: 32000, // default is 44100 however 32000 is enough for correct voice recognition
channels: 1, // 1 or 2, default 1
bitsPerSample: 16, // 8 or 16, default 16
audioSource: 6, // android solely (see under)
bufferSize: 4096 // default is 2048
};
LiveAudioStream.init(choices);
Have this error: Invariant Violation: Your JavaScript code tried to entry a local module that does not exist. In the event you’re making an attempt to make use of a module that’s not supported in Expo Go, you have to create a growth construct of your app. See https://docs.expo.dev/growth/introduction/ for more information., js engine:
I adopted up on the hyperlink and since I’m primarily focusing on ios. I additionally noticed this hyperlink: https://docs.expo.dev/workflow/customizing/
What I really need is to only set up this library and use it. If attainable the proceed to work with npm begin (expo begin) as I’ve till now with reside reload. (If attainable, or another – Only a answer the place I can proceed growth, then find out how to later launch) (I additionally am listening to one thing on a dev-client?)
I attempted this additionally:
- Updating in app.json:
"ios": {
"infoPlist": {
"NSMicrophoneUsageDescription": "This software makes use of the microphone.."
}
},
"plugins": [
[
"expo-build-properties",
{
"ios": {
"extraIosPodDependencies": [
{
"name": "react-native-live-audio-stream",
"path": "../node_modules/react-native-live-audio-stream"
}
]
}
}
]
]
The operating the app however nothing modified. Does anybody have a workflow for all these third celebration modules ?
