If you supply this module with a number to speak, for example:
Speech.speak({ text: 5 });
it will result in a silent runtime error which crashes the app without any reported errors or stack traces.
I am simply casting all my number values to strings before sending them to react-native-speech to avoid this problem, but you might want to run an internal catch (or cast) to prevent these types of errors, and facilitate some nice error messages for a better debugging experience.
If you supply this module with a number to speak, for example:
it will result in a silent runtime error which crashes the app without any reported errors or stack traces.
I am simply casting all my number values to strings before sending them to react-native-speech to avoid this problem, but you might want to run an internal catch (or cast) to prevent these types of errors, and facilitate some nice error messages for a better debugging experience.