riderodd / react-native-vosk

Speech recognition module for react native using Vosk library
MIT License
36 stars 9 forks source link

example not works #36

Closed sirramin closed 7 months ago

sirramin commented 8 months ago

When I press Record after a moment nothing happens and transcription does not work.

riderodd commented 8 months ago

Without more context it's gonna be hard to help. What's your environment? How did you run the example ?

sirramin commented 8 months ago

I run it on my android phone with Android 11

sirramin commented 8 months ago

And your documentation is wrong it's refrencing to react-native-voice-recognition

riderodd commented 8 months ago

Yep it's the old name of the package, we need to update this (feel free to open a PR, it's an open source project ;) ) I quote https://reactnative.dev/docs/environment-setup?os=windows&platform=android

Building a React Native app with native code, however, requires the Android 13 (Tiramisu) SDK in particular.

Can you try in the android studio emulator to see if the problem still occurs? It's running fine on my side.

riderodd commented 7 months ago

I've updated the README to work with the current package name, so closing now