Skip to content

Conversation

jsnavarroc
Copy link

This commit introduces two main improvements:

  1. Bug Fix (Android): Addresses a critical bug in the Android native module where the onResults function would crash if the speech recognizer returned null or empty results. The implementation now includes a robust check to validate the results. If they are null or empty, it sends an empty array to the JavaScript layer, preventing crashes and ensuring application stability.

  2. Documentation: Adds a detailed guide (docs/LOCAL_DEVELOPMENT.md) explaining the step-by-step process for compiling, packaging, and testing the library locally in a React Native project. The main README has been updated to reference this new guide.

This commit introduces two main improvements:

1.  **Bug Fix (Android):** Addresses a critical bug in the Android native module where the `onResults` function would crash if the speech recognizer returned null or empty results. The implementation now includes a robust check to validate the results. If they are null or empty, it sends an empty array to the JavaScript layer, preventing crashes and ensuring application stability.

2.  **Documentation:** Adds a detailed guide (`docs/LOCAL_DEVELOPMENT.md`) explaining the step-by-step process for compiling, packaging, and testing the library locally in a React Native project. The main README has been updated to reference this new guide.
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

Successfully merging this pull request may close these issues.

1 participant