voice
voice copied to clipboard
Packages throws error using EXPO SDK 51
Steps:
npm i @react-native-voice/voice --save
npx pod-install
app.json
"plugins": [
"expo-router",
"@react-native-voice/voice",
{
"microphonePermission": "Allow our App to access the microphone",
"speechRecognitionPermission": "Allow our App to securely recognize user speech"
}
],
Error shown:
Package "@react-native-voice/voice" does not contain a valid config plugin. Learn more: https://docs.expo.dev/guides/config-plugins/#creating-a-plugin
Cannot use import statement outside a module
eas build --profile development --platform ios
Can you kindly provide some installation notes and updates for the latest Expo release.
Thanks!