-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Got Cannot find native module 'ExpoSpeechRecognition' when run on Expo Go #64
Comments
Hey @daduev, this package isn't a first-class Expo SDK package meaning that the native code (swift/kotlin) isn't included in the pre-built Expo Go app. You'll need to build a development client once you use out-of-tree react native packages (like this) that include native iOS or Android code. So yeah, running it on the simulator (using |
Thanks @jamsch for quick answer. I am new in this field, could you describe in detail what should be done to run voice recognition on Expo Go app. I read development client and what I got that some commands should be called, I am not sure but I did that, maybe i missed something. |
Hey @daduev, unfortunately because this package contains swift and Kotlin code, you can't actually use it at all in the Expo Go app. The Expo Go app is pre-compiled with select packages for the specific Expo version. You can compile your app dev client by typing Also update your |
@jamsch How can I build this app to apk file? |
@atologistChiragRathod It depends on what kind of build you're intending, i.e. a development client build, or production APK build (for internal/external distribution). With Expo, building the app for internal or external distribution requires EAS which you configure through Then you should be able to run:
You may want to append |
When I start app on Expo Go application I get this error Cannot find native module 'ExpoSpeechRecognition'. But when I run it on simulator all is fine.
I try this commands:
npx expo prebuild --clean
npx expo run:ios
This command show me this:
npx expo-doctor
App.js
package.json
app.json
The text was updated successfully, but these errors were encountered: