voice icon indicating copy to clipboard operation
voice copied to clipboard

Packages throws error using EXPO SDK 51

Open mycloudvip opened this issue 1 year ago • 1 comments

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!

mycloudvip avatar Jun 09 '24 23:06 mycloudvip