I am trying to use expo-speech in my react-native app and I am getting the following error on my Android:
[Unhandled promise rejection: Error: Encountered an exception while calling native method: Exception occurred while executing exported method speak on module ExponentSpeech: null] - node_modules\react-native\Libraries\BatchedBridge\NativeModules.js:155:41 in createErrorFromErrorData - node_modules\react-native\Libraries\BatchedBridge\NativeModules.js:104:55 in - ... 5 more stack frames from framework internals
The code is the following: speak = async text => { Speech.speak(convertHTMLstring(text), { language: 'he', pitch: '1', rate: '0.9', }) }
react-native: 0.59.8
Dependencies are the following: "expo": "^35.0.0", "expo-speech": "~7.0.0", "react": "16.8.3", ...
Same code works in ios.
I tried to look for an answer but I couldn't find anything and according to expo docs, it shoudl support Android: https://docs.expo.io/versions/latest/sdk/speech/
Please help. Thanks.