jamsch / expo-speech-recognition

Speech Recognition for React Native Expo projects
MIT License
95 stars 9 forks source link

ExpoSpeechRecognitionn not found #47

Open jernland0279 opened 4 days ago

jernland0279 commented 4 days ago

Hi! I am integrating speech and speech to text to my react-native app. I installed successfully expo-speech-recongnition. I got an Uncaught Error saying Cannot find native module ExpoSpeechRecognition, I can't figure out this. I tried to build and prebuild the app with npx expo prebuild, I also added the flag --clean, still the issue persists. Need help.

jamsch commented 3 days ago

Hey @jernland0279, could you tell me what version of Expo you're running? This package currently supports SDK 51+.

Also double-check your installation by running npx expo-doctor to see if there's any issues.

If there aren't any issues, you shouldn't run in to any problems running the two commands here:

# Update the android/ios folders
npx expo prebuild --clean

# Re-build the app
npx expo run:android 
npx expo run:ios

If that doesn't work could you make a repository so I could check it out?