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

Cannot find native module 'ExpoSpeechRecognition', #44

Open
GonzaloSP opened this issue Oct 13, 2024 · 3 comments
Open

Cannot find native module 'ExpoSpeechRecognition', #44

GonzaloSP opened this issue Oct 13, 2024 · 3 comments

Comments

@GonzaloSP
Copy link

Hi,

I have been trying to use the library with expo and I get:

ERROR Error: Cannot find native module 'ExpoSpeechRecognition', js engine: hermes [Component Stack]

Any idea what could be causing this issue?

Thanks

@jamsch
Copy link
Owner

jamsch commented Oct 13, 2024

Hi @GonzaloSP,

Since this app contains native Kotlin and Swift code and not compiled with the Expo Go app you'll need to build the app using npx expo run:ios or npx expo run:android. Just make sure that you do also configure the config plugin (editing app.json) as shown in the installation guide. If you've done this previously, make sure the changes (from the config plugin) are propagated to your android/ios folders by running npx expo prebuild --clean

@GonzaloSP
Copy link
Author

Thank you @jamsch . Does it work in the Web version?

@jamsch
Copy link
Owner

jamsch commented Oct 13, 2024

Hi @GonzaloSP

Yes, this module supports web, however refer to the Platform Compatibility Table for more info. The additional features (such as recording, file-based transcription, and volume metering) aren't yet supported on Web however.

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

2 participants