Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packages throws error using EXPO SDK 51 #504

Open
mycloudvip opened this issue Jun 9, 2024 · 1 comment
Open

Packages throws error using EXPO SDK 51 #504

mycloudvip opened this issue Jun 9, 2024 · 1 comment

Comments

@mycloudvip
Copy link

mycloudvip commented Jun 9, 2024

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 mycloudvip changed the title Packages throws follow error using SDK 51 Packages throws follow error using EXPO SDK 51 Jun 9, 2024
@mycloudvip mycloudvip changed the title Packages throws follow error using EXPO SDK 51 Packages throws error using EXPO SDK 51 Jun 9, 2024
@mycloudvip
Copy link
Author

Generating a development build through EAS solved the issue!

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant